-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
[BUG] Can't click 2FA duo button. #2573
Comments
Could you run your script with the |
Works now when I run on firefox.
|
However, running on chromium results in a seemingly infinite loop.
|
Somehow Playwright thinks that some other element is occluding the button on Chromium and it can't click the Send me a push button. We would need to look at the DOM of your page and debug it to be helpful. Any chance there is a repro that you can share with us? Can be done privately. |
@pavelfeldman Invited you to a private repo containing the page HTML. Let me know if you need more information. |
That's just a static page where everything is hidden. Could you ping me on our Slack? https://playwright.slack.com/join/shared_invite/enQtOTEyMTUxMzgxMjIwLThjMDUxZmIyNTRiMTJjNjIyMzdmZDA3MTQxZWUwZTFjZjQwNGYxZGM5MzRmNzZlMWI5ZWUyOTkzMjE5Njg1NDg |
I'll close this since the discussion has stalled. (Feel free to re-open if not) |
Context:
Code Snippet
Describe the bug
I'm writing a script to automate the process of logging into a specific site. After the login page (which the script handles correctly), the site presents a duo 2FA button that needs to be pressed.
The script above manages to log in but fails to click the 'duo-auth button'. The 'duo-auth button' is part of an iframe.
frame.innerHTML returns the expected inner HTML, so it seems like the selector is able to find the button.
The part of the iframe that contains the button is shown below. The button has text 'Send Me a Push'.
The text was updated successfully, but these errors were encountered: