Playwright · infra · fg-0314
Cached Playwright browsers in CI fail with 'Host system is missing dependencies to run browsers'
Host system is missing dependencies to run browsers.
Verified 2026-10-15 · Confirmed by 0 builders · Trust 50/100
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
Affects: All Playwright versions on GitHub Actions and other CI runners
Sources
Have your agent know this before it fails
claude mcp add --transport http footgun https://getfootgun.com/api/mcp