1
0
mirror of synced 2026-08-04 06:26:55 +00:00

docs: update driver download instructions (#66)

This commit is contained in:
Yury Semikhatsky
2020-11-02 11:04:48 -08:00
committed by GitHub
parent 0901edec41
commit f05f044c2f
+6 -3
View File
@@ -11,17 +11,20 @@ git clone https://github.com/microsoft/playwright-java
cd playwright-java
```
2. Checkout and install playwright-cli node.js package into `driver/` directory. This installs Playwright and browser binaries for Chromium, Firefox and WebKit.
2. Download playwright-cli binary package into `driver/` directory and run `install` command. It will install Playwright and download browser binaries for Chromium, Firefox and WebKit.
```bash
mkdir driver
cd driver
curl -O https://playwright.azureedge.net/builds/cli/playwright-cli-0.151.0-linux.zip
unzip playwright-cli-0.151.0-linux.zip -d .
FILENAME=playwright-cli-0.160.0-next.1604089209904-linux.zip
curl -O https://playwright.azureedge.net/builds/cli/next/${FILENAME}
unzip ${FILENAME} -d .
./playwright-cli install
```
Replace `-linux.zip` in the file name with `-win32_x64.zip` or `-mac.zip` for other platforms.
Names of published driver archives can be found at https://github.com/microsoft/playwright-cli/actions
### Compiling and running the tests with Maven
```bash