Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
docs: remove hermetic installation guide for non-js (#7845)
Yury Semikhatsky6b774922f9b9
diff --git a/docs/src/installation.md b/docs/src/installation.mdindex 5487e16bb2..69c62900dc 100644--- a/docs/src/installation.md+++ b/docs/src/installation.md@@ -15,10 +15,6 @@ Each version of Playwright needs specific versions of browser binaries to operat- `~/Library/Caches/ms-playwright` on MacOS- `~/.cache/ms-playwright` on Linux-```bash js-npm i -D playwright-```-```bash pythonpip install playwrightplaywright install@@ -54,6 +50,14 @@ playwright install```bash java# Linux/macOSPLAYWRIGHT_BROWSERS_PATH=$HOME/pw-browsers mvn test++# Windows with cmd.exe+set PLAYWRIGHT_BROWSERS_PATH=%USERPROFILE%\pw-browsers+mvn test++# Windows with PowerShell+$env:PLAYWRIGHT_BROWSERS_PATH="$env:USERPROFILE\pw-browsers"+mvn test```When running Playwright scripts, ask it to search for browsers in a shared location.@@ -81,24 +85,6 @@ $env:PLAYWRIGHT_BROWSERS_PATH="$env:USERPROFILE\pw-browsers"mvn test```-Or you can opt into the hermetic install and place binaries in the local folder:--```bash python-# Linux/macOS-pip install playwright-PLAYWRIGHT_BROWSERS_PATH=0 playwright install--# Windows with cmd.exe-set PLAYWRIGHT_BROWSERS_PATH=0-pip install playwright-playwright install--# Windows with PowerShell-$env:PLAYWRIGHT_BROWSERS_PATH=0-pip install playwright-playwright install-```-Playwright keeps track of packages that need those browsers and will garbage collect them as you update Playwright to the newer versions.:::note