From 60a7b0618fe4f035c80b95ca4b3078b2aee4f0d1 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Wed, 12 May 2021 15:59:31 +0200 Subject: [PATCH] docs(cli): add example on how to install-deps for a single browser (#6534) --- docs/src/cli.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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.