Playwright · Junior · Frage 49 von 75
Wie führt man Tests nur im Firefox-Projekt aus?
- 1
npx playwright test --browser-only firefox - 2
npx playwright firefox test - 3
npx playwright test --project=firefox
Antwort zeigen
Richtige Antwort: npx playwright test --project=firefox
Erklärung
--project wählt ein oder mehrere Projekte nach Namen. Projekte können sich auch in Basis-URL, Gerät oder Testordner unterscheiden.