Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs(browsers): fix path to local binaries (#15123)

Simon Siefke597fed5ae42b
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
```