Skip to content

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

docs: clarify PLAYWRIGHT_DOWNLOAD_CONNECTION_TIMEOUT is an idle timeout (#42601)

Alexandr Kazminea1c3a64f767
diff --git a/docs/src/browsers.md b/docs/src/browsers.md
index 843f294ab5..a133c736d8 100644
--- a/docs/src/browsers.md
+++ b/docs/src/browsers.md
@@ -671,7 +671,7 @@ set NODE_EXTRA_CA_CERTS="C:\certs\root.crt"
$Env:NODE_EXTRA_CA_CERTS="C:\certs\root.crt"
```
-If your network is slow to connect to Playwright browser archive, you can increase the connection timeout in milliseconds with `PLAYWRIGHT_DOWNLOAD_CONNECTION_TIMEOUT` environment variable:
+If the browser archive download is slow or stalls, you can increase the download socket timeout in milliseconds with the `PLAYWRIGHT_DOWNLOAD_CONNECTION_TIMEOUT` environment variable. Despite its name this is an idle timeout rather than a connection timeout; it limits how long the download may go without receiving data, and defaults to 30 seconds:
```bash tab=bash-bash lang=js
PLAYWRIGHT_DOWNLOAD_CONNECTION_TIMEOUT=120000 npx playwright install