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

Bypass new login window #25

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Bypass new login window #25

wants to merge 2 commits into from

Conversation

morzen7
Copy link

@morzen7 morzen7 commented Jan 4, 2025

The new change can do the login.
Important! For me there was no 2 factor authentication, and worked only with email, so this version works with the email. If your country has 2nd factroy, than maybe some other changes might need.

I tried it with hungarian login, it worked, but I don't have 2 factor authenticaiton in here, so some aditional change might needed. It uses XPATH instead of ID.
@morzen7
Copy link
Author

morzen7 commented Jan 4, 2025

if this is not working change the api.py line 214, the headles to False, like this:
browser = self._get_browser(headless=kwargs.get("headless", False))

and change timeout in 216 to a higher time, like this:
wait = WebDriverWait(browser, 100)

this way, you will see the window, and will have time for check, what is the difference ( with F12)

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

Successfully merging this pull request may close these issues.

1 participant