Playwright · Junior · Question 49 of 75
How do you run tests only in the Firefox project?
- 1
npx playwright test --browser-only firefox - 2
npx playwright firefox test - 3
npx playwright test --project=firefox
Show the answer
Correct answer: npx playwright test --project=firefox
Explanation
--project selects one or more projects by name. Projects can also differ by base URL, device or test folder.