Skip to content

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

docs(test-runner): remove npx in npm scripts (#7931)

방성범 (Bang Seongbeom)e7ac7eb50cd6
diff --git a/docs/src/intro-js.md b/docs/src/intro-js.md
index 4bb54b5967..d4e6a7da05 100644
--- a/docs/src/intro-js.md
+++ b/docs/src/intro-js.md
@@ -464,7 +464,7 @@ Configure NPM script to run tests. Playwright Test will automatically pick up `p
```json
{
"scripts": {
- "test": "npx playwright test"
+ "test": "playwright test"
}
}
```
@@ -474,7 +474,7 @@ If you put your configuration file in a different place, pass it with `--config`
```json
{
"scripts": {
- "test": "npx playwright test --config=tests/example.config.js"
+ "test": "playwright test --config=tests/example.config.js"
}
}
```