Skip Playwright browser installs in CI

Tweet tip: GitHub-hosted runners already include browsers, so use one directly to skip minutes of Playwright browser installation.

Open ↗

Posted by Jiahan Chen (@jiahan_c)

CI perf tip:

Installing Playwright browsers can take minutes on GitHub Actions.

GitHub-hosted runners already include several browsers. If a compatible one meets your E2E needs, use it directly to skip the install and speed up CI.

Open attached media

Similar in the index

  • Leanest Runs only the Playwright or Vitest tests a code change could affect.
  • Passmark Open-source Playwright library for AI browser regression tests with caching.
  • Agent CI Run GitHub Actions locally.
  • Blacksmith Faster GitHub Actions runners with quicker caches and Docker builds.
  • Jog Drop-in replacement for GitHub runners at a lower price.