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

Login process automation no longer works #24

Open
xdanik opened this issue Oct 28, 2024 · 0 comments
Open

Login process automation no longer works #24

xdanik opened this issue Oct 28, 2024 · 0 comments

Comments

@xdanik
Copy link

xdanik commented Oct 28, 2024

Describe the bug
Seems Lidl re-designed the login page that causes the automation to fail. There is no #button_welcome_login at the page causing the WebDriver to timeout at the first step. Seem like the subsequent steps are also broken as I do not see any of the wanted selectors at the page.

I was able to manually pass the login process by executing the main.py inside PyCharm in debug mode with headless=False, placing a breakpoint on the wait = WebDriverWait(browser, 10) line, manually filling the form and obtaining the code from chrome, injecting the code inside the code variable and then using the "jump to cursor" at the self._authorization_code(code) - basically bypassing the automation whatsoever.

Expected behavior
The webdriver automation should fill the login form and obtain the access token automatically.

Environment (please complete the following information):

  • Python-Version: 3.11
  • Release-Version: latest - rev 0f1cd92

For auth problems:

  • OS: macOS
  • Browser: Chrome
  • Country: CZ
  • Language: cs
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