Skip to content

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

docs: fixed wrong types for WebServerConfig.cwd (#12817)

o.mingaleev9fc9aeeb235e
diff --git a/docs/src/test-api/class-testconfig.md b/docs/src/test-api/class-testconfig.md
index 59a0a3ba38..479f08ce3a 100644
--- a/docs/src/test-api/class-testconfig.md
+++ b/docs/src/test-api/class-testconfig.md
@@ -617,7 +617,7 @@ export default config;
- `url` <[string]> URL to wait on for the web server (exactly one of `port` or `url` is required)
- `timeout` <[int]> Maximum duration to wait on until the web server is ready
- `reuseExistingServer` <[boolean]> If true, reuse the existing server if it is already running, otherwise it will fail
- - `cwd` <[boolean]> Working directory to run the command in
+ - `cwd` <[string]> Working directory to run the command in
- `env` <[Object]<[string], [string]>> Environment variables to set for the command
Launch a development web server during the tests.