Playwright · Junior · Question 49 of 75

How do you run tests only in the Firefox project?

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.

Further reading

Problem with a question

Playwright · Junior · question 49

Test yourself

Take the Playwright · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz