Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

chore(cli): add example for running tests against a project (#14926)

Bill Brower21c510ee0d5a
diff --git a/docs/src/test-cli-js.md b/docs/src/test-cli-js.md
index 0c3fdc5ee8..b2872c7ab3 100644
--- a/docs/src/test-cli-js.md
+++ b/docs/src/test-cli-js.md
@@ -44,14 +44,9 @@ Here are the most common options available in the command line.
npx playwright test --headed
```
-- Run tests in a particular browser (config-less mode)
+- Run all the tests against a specific project
```bash
- npx playwright test --browser=webkit
- ```
-
-- Run tests in all browsers (config-less mode)
- ```bash
- npx playwright test --browser=all
+ npx playwright test --project=chromium
```
- Disable [parallelization](./test-parallel.md)