- Symptom
- Host system is missing dependencies to run browsers.Failures start only on cache-hit runs that skip npx playwright install --with-depsExecutable doesn't exist after a version bump because the cache key ignores the Playwright version
- Cause
- A cache can restore the browser folder but not the system libraries that install --with-deps adds through apt. Playwright's docs advise against caching browsers for that reason.
- Fix
- Drop the cache and run install --with-deps every time, or key the cache on the exact Playwright version and still run install-deps on a cache hit.
- Apply
- run: npx playwright install --with-deps # if you keep a cache, still run this on a hit: - run: npx playwright install-deps- Affected
- All Playwright versions on GitHub Actions and other CI runners
- Sources
Last verified 2026-10-15 · Confirmed by 0 builders