From 597fed5ae42bcb8010de3e0d73372879e7f11395 Mon Sep 17 00:00:00 2001 From: Simon Siefke Date: Sat, 25 Jun 2022 18:11:47 +0200 Subject: [PATCH] docs(browsers): fix path to local binaries (#15123) --- docs/src/browsers.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/src/browsers.md b/docs/src/browsers.md index 72ed3cea5c..65115e0730 100644 --- a/docs/src/browsers.md +++ b/docs/src/browsers.md @@ -222,7 +222,7 @@ mvn test ``` ```bash tab=bash-bash lang=csharp -PLAYWRIGHT_BROWSERS_PATH=$HOME/pw-browsers +PLAYWRIGHT_BROWSERS_PATH=$HOME/pw-browsers pwsh bin\Debug\netX\playwright.ps1 install ``` @@ -307,19 +307,20 @@ Developers can opt-in in this mode via exporting `PLAYWRIGHT_BROWSERS_PATH=$HOME You can opt into the hermetic install and place binaries in the local folder: + ```bash tab=bash-bash -# Places binaries to node_modules/@playwright/test +# Places binaries to node_modules/playwright-core/.local-browsers PLAYWRIGHT_BROWSERS_PATH=0 npx playwright install ``` ```batch tab=bash-batch -# Places binaries to node_modules\@playwright\test +# Places binaries to node_modules\playwright-core\.local-browsers set PLAYWRIGHT_BROWSERS_PATH=0 npx playwright install ``` ```powershell tab=bash-powershell -# Places binaries to node_modules\@playwright\test +# Places binaries to node_modules\playwright-core\.local-browsers $env:PLAYWRIGHT_BROWSERS_PATH=0 npx playwright install ```