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
{{ message }}
Repository navigation
bug(tooling): npm run test:package fails without a system Google Chrome #4
scripts/test-package.mjs calls chromium.launch({ channel: 'chrome' }). On machines with only Playwright's bundled Chromium, npm run check (and therefore prepublishOnly) fails with Chromium distribution 'chrome' is not found.
Proposed fix (PR to follow): fall back to chromium.launch() when the Chrome channel isn't available.
Confirmed that the package test explicitly launches the chrome channel. Chrome stable is a documented development prerequisite, so this is a portability request for contributors who already have Playwright Chromium installed. I’d keep it low priority. If we add a fallback, it should handle the missing browser executable specifically and still surface worker or browser-test failures.
Activity
Dhananjay-alt commentedon Nov 21, 2026
Fixed in #10.
test:package now falls back to Playwright's bundled Chromium when system Chrome isn't installed (commit f0962c9).
Samarth208P commentedon Nov 21, 2026
Confirmed that the package test explicitly launches the
chromechannel. Chrome stable is a documented development prerequisite, so this is a portability request for contributors who already have Playwright Chromium installed. I’d keep it low priority. If we add a fallback, it should handle the missing browser executable specifically and still surface worker or browser-test failures.