npx playwright test --project=chromium

Category: Web App Development

npx playwright test --project=chromium

Run tests for a single browser project

Restricts the run to the chromium project defined in playwright.config.js, skipping firefox and webkit. Projects let one suite target multiple browsers with different viewports. Use --project=firefox to compare cross-browser behavior.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.