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

Playwright docker failing to find chromium #1499

Open
DEfusion opened this issue Sep 20, 2023 · 0 comments
Open

Playwright docker failing to find chromium #1499

DEfusion opened this issue Sep 20, 2023 · 0 comments

Comments

@DEfusion
Copy link
Contributor

This started happening on our CI yesterday:

browserType.launch: Executable doesn't exist at /opt/pw-browsers/chromium-1080/chrome-linux/chrome
                ╔═════════════════════════════════════════════════════════════════════════╗
                ║ Looks like Playwright Test or Playwright was just installed or updated. ║
                ║ Please run the following command to download new browsers:              ║
                ║                                                                         ║
                ║     yarn playwright install                                             ║
                ║                                                                         ║
                ║ <3 Playwright Team                                                      ║
                ╚═════════════════════════════════════════════════════════════════════════╝
                    at module.exports.createPlaywrightBrowser (/usr/lib/node_modules/backstopjs/core/util/runPlaywright.js:43:42)

I ended up adding this to our Dockerfile to make it work temporarily:

RUN mkdir -p /opt/pw-browsers/chromium-1080/chrome-linux \
    && ln -s /usr/bin/chromium /opt/pw-browsers/chromium-1080/chrome-linux/chrome

I found this related #1468 but we're already on 6.2.2

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

No branches or pull requests

1 participant