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
Unable to locate element: //input[@type="password"] #30
Comments
Can you create a virtual environment and do a fresh install of geeup v 0.4.5? I just released an update though it should not impact your issue and I was able to run |
Thanks, yes, I installed geeup v0.4.5 in a virtual environment and can run geeup init, but the issue with geeup selsetup persists. I'm running python 3.7.9 |
The only next steps I can think of is
|
Hi Samapriya - I am having the exact same problem (I checked your first two points above). I noted that geebam also appears to have a similar issue with selenium. Perhaps Google is blocking? |
Unfortunately yes, it seems this is working for a few google accounts and for accounts it simply does not. You are right, google has changed it's policy on embedded and automated browser. For users who have allowed less secure apps it usually works but remains blocked for some accounts. There is some discussion on this here and here is the related blog. I am open to anyone who has a PR that might help fix this but in the mean time I am keeping this issue open |
A related fix is applied to v0.4.6, you can now use cookies to ingest instead of selenium. You can read the docs here Hope this helps, and closing this issue for now but feel free to test and reopen issues as needed. |
Dear all, First of all @samapriya, thanks for this great tool, I expect it will really help me during my research and can't wait to use it. However, at the moment I am also stuck with this issue ("Message: Unable to locate element: //input[@type="password"]) when trying "geeup selsetup" and "geeup upload ... etc". I also have this issue after updating to version 0.4.6, and also when trying different accounts. I was wondering if any of you (@tillmann123456 or @kevinpdavies) already got it working? If so, it would be great if you could share some tips. Thanks in advance :) |
Hi @SdeRodaHusman To set up cookies use this and then using the method cookies during image upload as in the example here This method works for all accounts even with those that have 2-factor auth and/or are Single Sign-on accounts like university accounts. Hope this helps Sam |
Hi @samapriya, Thank you so much! It is working now, amazing :) Once again, thanks for the help & the great tool! All the best, PS. I noticed a minor typo in the explanation on Cookies Setup at PyPI: cookieS_setup, instead of cookie_setup. |
Thanks @SdeRodaHusman for testing it out and for the typo catch will correct it in the next release :) Glad it works |
Hi Samapriya,
thanks a lot for this tool, it looks very helpful. Unfortunately, I can't get the "geeup upload" tool to work. I have run the geeup init command without a problem.
When I run the "upload" command and type in my passowrd, it says "Message: Unable to locate element: //input[@type="password"]. Failed to setup Selenium profile"
When I run the "selsetup" command, a stackauth window opens, but then it says my browser (Firefox) is potentially insecure. I tried changing the standard browser to Chrome, but the stackauth window still opens in Firefox.
Great if you can help me with this!
Tillmann
The text was updated successfully, but these errors were encountered: