You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extra:
OS: Linux 4.18 Ubuntu 18.04.5 LTS (Bionic Beaver)
Memory: 34.65 GB / 62.89 GB
Container: Yes
Binaries:
Node: 14.17.2 - /usr/bin/node
Yarn: 1.22.11 - /usr/bin/yarn
npm: 6.14.13 - /usr/bin/npm
Languages:
Bash: 4.4.20 - /bin/bash
npmPackages:
playwright-testing-library: 2.7.2 => 2.7.2
all of this ^ is from docker image mcr.microsoft.com/playwright:1.13.0-bionic (I know it's very old, and maybe I should't be using it if I'm installing the browsers via npx install playwright anyway, but that's what we have in a repository.
Describe the bug
Hi, although I set channel: chrome in the config which was suggested in #19548 wherever possible, the ci fails when executing npx install playwright which should install the required browsers.
ci output:
Failed to install browsers
Error: ERROR: Playwright does not support chromium on ubuntu18.04
The text was updated successfully, but these errors were encountered:
First of all, I'd strongly recommend upgrading to Ubuntu focal or yammy, your Docker image which you are using should always match to the Playwright version you are using, otherwise browsers and dependencies have to be downloaded again.
If we look at this Ubuntu 18 bionic scenario, I just tried it out and Firefox & Chromium was working for after installing browser and deps (npx playwright install --with-deps).
If you use channel: 'chrome' inside your config, this means that you are using the Google Chrome Stable channel, so you need to install it manually with npx playwright install chrome. I tried this is as well and it was working for me.
Context:
OS: Linux 4.18 Ubuntu 18.04.5 LTS (Bionic Beaver)
Memory: 34.65 GB / 62.89 GB
Container: Yes
Binaries:
Node: 14.17.2 - /usr/bin/node
Yarn: 1.22.11 - /usr/bin/yarn
npm: 6.14.13 - /usr/bin/npm
Languages:
Bash: 4.4.20 - /bin/bash
npmPackages:
playwright-testing-library: 2.7.2 => 2.7.2
all of this ^ is from docker image mcr.microsoft.com/playwright:1.13.0-bionic (I know it's very old, and maybe I should't be using it if I'm installing the browsers via
npx install playwright
anyway, but that's what we have in a repository.Code Snippet
the config:
Describe the bug
Hi, although I set
channel: chrome
in the config which was suggested in #19548 wherever possible, the ci fails when executingnpx install playwright
which should install the required browsers.ci output:
Failed to install browsers
Error: ERROR: Playwright does not support chromium on ubuntu18.04
The text was updated successfully, but these errors were encountered: