[BUG] Firefox: Page crashes if page is refreshed or open again
See original GitHub issueContext:
- Playwright Version: 1.20.1
- Operating System: docker image based on Ubuntu 20.04
- Node.js version: 14
- Browser: Firefox 97.0.1 (inside PW 1.20.1)
- Extra: CodeceptJS 3.3.0
Describe the bug
My CodeceptJS test opens href links inside main page one by one and checks if page is loaded correctly (no error occurs). Very often a page crashes (but on “random” href link, not on specific one), in Firefox only. It’s O.K. in Chromium
CodeceptJS log (with DEBUG=*browser*)
[2.dev:firefox] I am on page "https://mysite.cloud/external/courseVariants/list"
2022-03-31T11:58:49.748Z pw:browser [pid=307][err]
2022-03-31T11:58:49.748Z pw:browser [pid=307][err] ###!!! [Parent][PContentParent] Error: Send(msgname=PHttpChannel::Msg_DeleteSelf) Channel error: cannot send/recv
2022-03-31T11:58:49.748Z pw:browser [pid=307][err]
2022-03-31T11:58:49.748Z pw:browser [pid=307][err]
2022-03-31T11:58:49.748Z pw:browser [pid=307][err] ###!!! [Parent][PContentParent] Error: Send(msgname=PHttpChannel::Msg_DeleteSelf) Channel error: cannot send/recv
2022-03-31T11:58:49.748Z pw:browser [pid=307][err]
ERROR: Page has crashed, closing page!
ERROR: Page has crashed, closing page!
...
ERROR: Page has crashed, closing page!
2022-03-31T11:58:49.968Z pw:browser [pid=307][err] JavaScript error: chrome://juggler/content/content/PageAgent.js, line 13: NS_ERROR_XPC_GS_RETURNED_FAILURE: ServiceManager::GetService returned failure code:
[2.dev:firefox] › <Error: page.screenshot: Target page, context or browser has been closed>
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Troubleshoot Firefox crashes (closing or quitting unexpectedly)
If the page stops working because part of the page has crashed or stopped responding, try reloading the page to see if that...
Read more >Firefox keeps crashing at startup | Firefox Help - Mozilla Support
If Firefox keeps crashing when you try to start it and other solutions don't work, a clean reinstall can often fix the problem....
Read more >My browser is crashing when I refresh tabs--and I'm a heavy ...
Click the orange Firefox button at the top left, then select the "Options" button, or, if there is no Firefox button at the...
Read more >Firefox crashes during "refresh firefox" after clean install
Firefox crashes while loading about 1 page in 10. When a page causes the crash, it does so repeatedly. I've gone through the...
Read more >My latest firefox crashes often. Refresh did not help. How to ...
When the crash occurs - the screen gets transparent, there is a note about ... Then the firefox refreshed the page and went...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Without a repro we unfortunately can’t act on it. Will mark it as p3-collecting-feedback to see if other folks are running into it.
Why was this issue closed?
We are prioritizing the bugs based on the upvotes, recency and our ability to act. It looks like this issue only has a handful of upvotes, has not been touched recently and/or we lack sufficient feedback to act on it. We are closing issues like this one to keep our bug database maintainable. Please feel free to open a new issue and link this one to it if you think this is a mistake.