[BUG] Error: Failed to install msedge in playwright docker image
See original GitHub issueContext:
- Playwright Version: 1.22.1
- Operating System: Mac M1
- Node.js version: 14.6
- Browser: EDGE
Code Snippet
FROM mcr.microsoft.com/playwright
COPY . /MPRE-PW
RUN chmod a+x ./E-PW/execute_test.sh
RUN apt update && apt install -y zip
RUN cd E-PW && npm ci
RUN npx playwright install msedge
CMD [ "/bin/bash" ]
Unable to install edge browser using playwright docker image

Issue Analytics
- State:
- Created a year ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
[BUG] Error: Failed to install msedge · Issue #10695 - GitHub
Run inside container: npx playwright install msedge. Describe the bug. Edge is not installed. root@b4774535b186:/e2e# npx playwright install ...
Read more >Playwright won't launch browser in Docker container
I assume that the browser is not getting launched. My dockerfile looks like this: # playwright:bionic has everything to run playwright (node, ...
Read more >Use Playwright to automate and test in Microsoft Edge
In this article. Install Playwright and browsers; Run a basic test; Run tests in Microsoft Edge; Use Playwright as a library. The Playwright...
Read more >How to test web applications with Playwright and C# .NET
Learn how to test web applications by develop end-to-end tests using Playwright and C# .NET.
Read more >page.goto: navigation failed because page crashed - You.com
Describe the bug I get the aforementioned error message ( page.goto: Navigation ... Dockerfile used to deploy the ExpressJS server and install Playwright....
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
I like to add the following to my previous comment: we are using the
--platform linux/amd64
flag on an M1 because we are looking to have exactly the same docker image running on both local and CI. We are running VRTs and we always used a0
threshold when comparing images to baseline. We noticed that theamd64
vs thearm64
images produce slight differences caused by antialiasing so we prefer to have exactly the same platform in both environmentsWe have a similar issue when we need to run playwright (in our case Chrome, not edge) from an M1 machine with the
--platform linux/amd64
flag. The logs are similar, alwaysfailed to connect to the bus
and the GPU process crash. I’ve tried with various chromium args with no success:--single-process
, different values for--use-gl
,--no-zygote
We are usingplaywright
1.21.1
Logs