-
-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot read property 'click' of undefined #80
Comments
are you running latest version? there was a recent improvement for language selection in 8a84da9 mifi/SimpleInstaBot#28 Do you see anything being logged? or do you see it trying to change language? |
Yes, I must change the selector by this one : |
what exactly did you change, this line? - const elementHandles = await page.$x(`//select[//option[@value='${short}' and text()='${long}']]`);
+ const elementHandles = await page.$x(`//select/option[@value='${short}' and text()='${long}']`); why is that exactly? Line 809 in 1adf00a
|
Yes I have this error sometimes, so I went on xpath debugger and this line worked, so I edited this line and instauto work fine |
so after that instauto was able to change the langauge to english by itself? |
For me, yes |
is this still an issue? |
Instauto can't change language when you use another than English, so can't click on "Log In" button
The text was updated successfully, but these errors were encountered: