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

[BUG] Timout Error on firefox for popup #4208

Closed
Sreejithw opened this issue Oct 22, 2020 · 2 comments · Fixed by #4365
Closed

[BUG] Timout Error on firefox for popup #4208

Sreejithw opened this issue Oct 22, 2020 · 2 comments · Fixed by #4365
Assignees

Comments

@Sreejithw
Copy link

Context:

  • Playwright Version: 1.5.1
  • Operating System: Windows
  • Node.js version: 15.0.1
  • Browser: firefox
  • Extra: Also using jest version 26.6.0

I have a page with some links that opens on a new tab when clicked. I handle the opening of the new tab and get additional screenshots inside the new tab. But i get a timeout error for 'popup' event in firefox although its working perfectly for chromium.

Code Snippet

for(let[i,boxes] of content.entries()){      
       if((content.name).split('_')[1] == serviceName){
           const [page1] = await Promise.all([
                     page.waitForEvent('popup'),
                     frame.click(`#${boxes.id}`)
            ]);
            await page1.waitForLoadState('networkidle');
        }
}

Add any other details about the problem here.

@pavelfeldman
Copy link
Member

I can repro this and it seems unrelated to the networkidle itself. As I open popups, rafs get throttled to the extent of being non-responsive. Investigating.

@Sue9445
Copy link

Sue9445 commented Oct 29, 2020

+1 @pavelfeldman i have the same problem

aslushnikov added a commit to aslushnikov/playwright that referenced this issue Nov 6, 2020
This forces active docshell for all content processes.

References microsoft#4208
aslushnikov added a commit to aslushnikov/playwright that referenced this issue Nov 6, 2020
aslushnikov added a commit that referenced this issue Nov 6, 2020
This forces active docshell for all content processes.

References #4208
aslushnikov added a commit that referenced this issue Nov 6, 2020
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 a pull request may close this issue.

4 participants