docs(cli): add example on how to install-deps for a single browser (#6534)
This commit is contained in:
parent
2945f05cfa
commit
60a7b0618f
|
|
@ -388,5 +388,19 @@ mvn exec:java -e -Dexec.mainClass=com.microsoft.playwright.CLI -Dexec.args="inst
|
||||||
playwright install-deps
|
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
|
## Known limitations
|
||||||
Opening WebKit Web Inspector will disconnect Playwright from the browser. In such cases, code generation will stop.
|
Opening WebKit Web Inspector will disconnect Playwright from the browser. In such cases, code generation will stop.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue