Testing Playwright Test Running Tests npx playwright test Running on Headless state npx playwright test --headed You can also set the browser if needed. When need snapshots npx playwright test --update-snapshots Available fixtures page context browser browserName