-
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] Firefox Timeout while waiting for popup #3971
Comments
@mwallace72 from the first sign, it looks like you have an extra // .. other validation
const [popup] = await Promise.all([
playwright.page.waitForEvent('popup'),
/* await */ landingPage.clickLoginItem(), // <<== `await` is not needed here
]) |
@aslushnikov That is accurate, but on removal nothing changes. Thanks for spotting it though. |
Attempting some version changes of Playwright as well, to see if any don't experience the problem:
|
Thanks for checking! |
@arjun27 thanks for letting me know - did an install ( Chromium click function to open popup fails
Thanks for the support, and the great tool - I've really enjoyed it, aside from my team introducing this popup :D |
I've also tried
while using |
For the record: Playwright 1.4.2 is out with a fix for MacOS 10.13 - https://github.com/microsoft/playwright/releases/tag/v1.4.2 @mwallace72 from the extended logs that you published it looks like clicking fails because element is invisible. Could it be the case? Can you try running in non-headless mode to make sure that the button is actually clickable? If the button is clickable - any chance you can help us to reproduce this behavior locally so that we can debug it? |
@aslushnikov I'll try and repro some code for it that's non-specific. |
I have similar issue, only difference is that I click on button and this opens a new window, which I later want to interact with and I can't... |
I'm delighted to announce that even though my use of |
Context:
Code Snippet
Help us help you! Put down a short code snippet that illustrates your bug and
that we can run and debug locally. For example:
Describe the bug
We have this code running for chromium & firefox (see above via
it.each
) and chromium passes fine.The log line prints the expected name of the popup, and when running in headless=false mode we can see the popup open and can confirm it matches the log.
On firefox however, the code hangs during the
Promise.all
phase with the following:But I can confirm the popup is appearing (and not even slowly).
I recognize this might be a "get on the proper version of Playwright" kind of issue, considering we're not using even the 1.0.0 version, but was hoping someone might have input.
The text was updated successfully, but these errors were encountered: