Skip to content

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

docs: fix grep example command (#14138)

Takuya Matsuda634ba85c83ae
diff --git a/docs/src/test-cli-js.md b/docs/src/test-cli-js.md
index f91a0b6864..0c3fdc5ee8 100644
--- a/docs/src/test-cli-js.md
+++ b/docs/src/test-cli-js.md
@@ -90,7 +90,7 @@ Complete set of Playwright Test options is available in the [configuration file]
- `--forbid-only`: Whether to disallow `test.only`. Useful on CI.
-- `-g <grep>` or `--grep <grep>`: Only run tests matching this regular expression. For example, this will run `'should add to cart'` when passed `-g="add to cart"`.
+- `-g <grep>` or `--grep <grep>`: Only run tests matching this regular expression. For example, this will run `'should add to cart'` when passed `-g "add to cart"`.
- `--grep-invert <grep>`: Only run tests **not** matching this regular expression. The opposite of `--grep`.