Skip to content

Commit

Permalink
docs(cli): add example on how to install-deps for a single browser (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt committed May 12, 2021
1 parent 2945f05 commit 60a7b06
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/src/cli.md
Expand Up @@ -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.

0 comments on commit 60a7b06

Please sign in to comment.