i got this error on my ci ( jenkins ) job-
Error: browserType.launch: Chromium distribution 'chrome' is not found at /opt/google/chrome/chrome Run "npx playwright install chrome"
i use this command: npx playwright-core install
i use the latest playwright version and the browsers got installed on my jenkins machine.
can someone tell me why i'm getting this error? @mxschmitt @refactoreric
This thread is trying to answer question "Why is the user getting an error while running a Jenkins CI job with Playwright 1.35.1?"
NOTE: when i tried 'npx playwright install chrome' - i got this error: E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 10067 (unattended-upgr) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it? Failed to install browsers Error: Failed to install chrome
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email firstname.lastname@example.org.