terukaze1939 / FReport

Facebook account reporter with python selenium
MIT License
18 stars 3 forks source link

Cant login Xpath error #2

Open OlliBash opened 6 months ago

OlliBash commented 6 months ago

After login and entering password it loads and then this error:

Message: no such element: Unable to locate element: {"method":"xpath","selector":"//input[@type='submit']"} (Session info: chrome-headless-shell=124.0.6367.92); For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception Stacktrace: GetHandleVerifier [0x0028C113+48259] (No symbol) [0x0021CA41] (No symbol) [0x00110A17] (No symbol) [0x00150BED] (No symbol) [0x00150C9B] (No symbol) [0x0018BC12] (No symbol) [0x00170DE4] (No symbol) [0x00189B9C] (No symbol) [0x00170B36] (No symbol) [0x0014570D] (No symbol) [0x001462CD] GetHandleVerifier [0x00546533+2908323] GetHandleVerifier [0x00583B4B+3159739] GetHandleVerifier [0x0032505B+674763] GetHandleVerifier [0x0032B21C+699788] (No symbol) [0x00226244] (No symbol) [0x00222298] (No symbol) [0x0022242C] (No symbol) [0x00214BB0] BaseThreadInitThunk [0x76FE7BA9+25] RtlInitializeExceptionChain [0x7791BD2B+107] RtlClearBits [0x7791BCAF+191] (No symbol) [0x00000000]

terukaze1939 commented 5 months ago

I think it's because i'm using Indonesian words while choosing the elements with xpath, i'm still figuring out this issue, even after i'm using different locale but still the web content is contains indonesian text.

terukaze1939 commented 5 months ago

I think it's because i'm using Indonesian words while choosing the elements with xpath, i'm still figuring out this issue, even after i'm using different locale but still the web content is contains indonesian text.

So that's why when the program search by text like "tombol" ( button in indonesian ) you will get error if you are from outside indonesia and the text content is using english or another language.