-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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]browserType.launch: Failed to launch firefox because executable doesn't exist at /root/.cache/ms-playwright/firefox-1234/firefox/firefox #5801
Comments
It looks like the directory where you build the image from already contains node_modules which are copied into the docker image. This confuses |
Thanks a lot @yury-s for your kind help. Your suggestion worked 👍 |
* To be sure that the browser is correctly installed in the GH: microsoft/playwright#5801 * Skip browser installation with 'npm ci' * Change steps name
Context:
I am having browser missing issue on docker when I try to install playwright through “Run npm install” command in my dockerfile. I see that Playwright folder under node_modules but browsers don’t get installed. For this I get the above mentioned error when running the tests in my docker container. @yury-s kindly suggest.
package.json I have is as below:
Dockerfile I have is as below:
@yury-s Kindly take a look and let me know if you need any other information. Thanks a lot again for your kind support.
The text was updated successfully, but these errors were encountered: