npx playwright install chromium

Category: Web App Development

npx playwright install chromium

Install the Chromium browser for Playwright

Downloads the Chromium build pinned to your Playwright version into the browser cache. Playwright tests fail with a clear message when the browser is missing. Add --with-deps to install the system libraries the browser needs.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.