Skip to content

Test

Status: PASS Install method: npm (npx playwright / @playwright/test)

What was actually run (2026-06-30)

bash
npx playwright --version

Actual output:

Version 1.61.1

PASS. Playwright CLI resolves via npx. No local install needed for the version check.

Full install and smoke test (not run - requires browser binaries + display)

bash
npm install --save-dev @playwright/test
npx playwright install chromium
npx playwright test

The full test run requires Chromium browser binary installation and a display environment. The CLI version check above confirms the package resolves correctly.

Common failure modes

SymptomCauseFix
browserType.launch: Executable doesn't existBrowsers not installedRun npx playwright install
Error: No tests foundWrong test directory or globCheck testDir in playwright.config.ts
Tests timeoutSlow CI or networkIncrease timeout in config