docs(cli): add --width-deps to the docs (#12362)

This commit is contained in:
Max Schmitt 2022-02-25 19:26:32 +01:00 committed by GitHub
parent c1a1eaec34
commit 2f0183dd1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -581,3 +581,21 @@ playwright install-deps chromium
```bash csharp
pwsh bin\Debug\netX\playwright.ps1 install-deps chromium
```
It's also possible to combine `install-deps` with `install` and install by that the browsers and OS dependencies with a single command. This would do both for Chromium, but you can also leave it out.
```bash js
npx playwright install --with-deps chromium
```
```bash java
mvn exec:java -e -Dexec.mainClass=com.microsoft.playwright.CLI -Dexec.args="install --with-deps chromium"
```
```bash python
playwright install --with-deps chromium
```
```bash csharp
pwsh bin\Debug\netX\playwright.ps1 install --with-deps chromium
```