Skip to content
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

Docker: Error login #13

Open
123trs opened this issue Sep 16, 2024 · 0 comments
Open

Docker: Error login #13

123trs opened this issue Sep 16, 2024 · 0 comments

Comments

@123trs
Copy link

123trs commented Sep 16, 2024

After 12 month use, suddenly no autologin possible.

Logfile:

2024-09-16 07:53:42,706 >>> DEBUG: afraid-autologin startup
2024-09-16 07:53:42,708 >>> DEBUG: init browser
2024-09-16 07:53:45,846 >>> DEBUG: navigating to login page
2024-09-16 07:53:49,265 >>> DEBUG: submit login form
Traceback (most recent call last):
File "/app/app.py", line 129, in
main(logger)
File "/app/app.py", line 83, in main
username_field = browser.find_element(By.NAME, "username")
File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 861, in find_element
return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 444, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/errorhandler.py", line 249, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":"[name="username"]"}
(Session info: headless chrome=108.0.5359.125)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant