You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. Run the following script to download playwright-cli binaries for all platforms into `driver-bundle/src/main/resources/driver/` directory (browser binaries for Chromium, Firefox and WebKit will be automatically downloaded later on first Playwright run).
23
+
2. Run the following script to download Playwright driver for all platforms into `driver-bundle/src/main/resources/driver/` directory (browser binaries for Chromium, Firefox and WebKit will be automatically downloaded later on first Playwright run).
24
24
25
25
```bash
26
-
scripts/download_driver_for_all_platforms.sh
26
+
scripts/download_driver.sh
27
27
```
28
28
29
-
Names of published driver archives can be found at https://github.com/microsoft/playwright-cli/actions
30
-
31
29
### Building and running the tests with Maven
32
30
33
31
```bash
@@ -41,25 +39,19 @@ BROWSER=chromium mvn test --projects=playwright -Dtest=TestPageNetworkSizes
41
39
42
40
### Generating API
43
41
44
-
Public Java API is generated from api.json which is produced by `playwright-cli print-api-json`. To regenerate
45
-
Java interfaces for the current driver run the following commands:
42
+
Public Java API is generated from api.json which is produced by `print-api-json` command of playwright CLI. To regenerate Java interfaces for the current driver run the following commands:
46
43
47
44
```bash
48
-
./scripts/download_driver_for_all_platforms.sh
45
+
./scripts/download_driver.sh
49
46
./scripts/generate_api.sh
50
47
```
51
48
52
49
#### Updating driver version
53
50
54
-
Driver version is read from [scripts/CLI_VERSION](https://github.com/microsoft/playwright-java/blob/main/scripts/CLI_VERSION) and can be found in the upstream [GHA build](https://github.com/microsoft/playwright/actions/workflows/publish_canary.yml) logs. To update the driver to a particular version run the following commands:
51
+
Versions of published driver archives can be found in [publish canary](https://github.com/microsoft/playwright/actions/workflows/publish_canary.yml) and [publish release](https://github.com/microsoft/playwright/actions/workflows/publish_release_driver.yml)actions logs. To update the driver to a particular version run the following command:
0 commit comments