-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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] Running Playwright on Firefox inside a Docker container always hangs forever #16491
Comments
Thanks for the repro. I'm able to also reproduce on Docker for Linux in a default GitHub Codespace. I cleaned up some of the Docker bits in the repro, and the issue looks to be narrowed down to permission-related when using a volume mount. With This only occurs if the commented out volume mount is used (https://github.com/rwoll/user-repro-playwright-firefox-docker) @aslushnikov Do you know what constraints there are on using docker volume mounts and FF? /cc @eatonjl in case this ends up being helpful in your investigation of #16099 |
Assigning to 1.26 so we file it upstream or look into it. |
I got it on |
@hex0cter the issue with firefox misbehaving with mounts in docker should be filed upstream to Firefox; I'll appreciate if someone will build a small repro and file it to Mozilla folks for them to take a look. |
This isn't working for me either with the plain This is what I get with
I was hoping the default PW Docker image wouldn't need customising to make it work! |
Ah, I suspect it's the same as this issue #13716. I was able to work around this using a customised Dockerfile:
This sets up the right environment for the user so everything works. |
Summary: this is a Firefox upstream bug, it should be reported upstream to Firefox bug tracker. Closing since there's no action item for Playwright team here. |
@aslushnikov - is there an argument to set up the Playwright Docker image to make sure this works though? |
@aslushnikov I'm having the same issue when running v1.36.2-focal in OCP. |
Context:
Code Snippet
I've created a repo for reproducing the bug:
https://github.com/eduter/playwright-firefox-docker
Describe the bug
It starts the container and tries to run the example test on Firefox, but then just hangs forever like this:
The text was updated successfully, but these errors were encountered: