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

This commit is contained in:
Max Schmitt 2021-05-12 15:59:31 +02:00 committed by GitHub
parent 2945f05cfa
commit 60a7b0618f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.