Skip to content

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

docs(cli): add example on how to install-deps for a single browser (#6534)

Max Schmitt60a7b0618fe4
diff --git a/docs/src/cli.md b/docs/src/cli.md
index 7809558c41..7976cbc011 100644
--- a/docs/src/cli.md
+++ b/docs/src/cli.md
@@ -388,5 +388,19 @@ mvn exec:java -e -Dexec.mainClass=com.microsoft.playwright.CLI -Dexec.args="inst
playwright install-deps
```
+You can also install the dependencies for a single browser only by passing it as an argument:
+
+```sh js
+npx playwright install-deps chromium
+```
+
+```sh java
+mvn exec:java -e -Dexec.mainClass=com.microsoft.playwright.CLI -Dexec.args="install-deps chromium"
+```
+
+```sh python
+playwright install-deps chromium
+```
+
## Known limitations
Opening WebKit Web Inspector will disconnect Playwright from the browser. In such cases, code generation will stop.