docs(api): add env option to Playwright.create in Java (#7002)

This commit is contained in:
Yury Semikhatsky 2021-06-09 15:05:51 -07:00 committed by GitHub
parent 3c7d2aae6a
commit e625e17dc3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,6 +58,13 @@ page.navigate("https://www.w3.org/");
playwright.close();
```
### option: Playwright.create.env
* langs: java
- `env` <[Object]<[string], [string]>>
Additional environment variables that will be passed to the driver process. By default driver
process inherits environment variables of the Playwright process.
### param: BrowserContext.waitForPage.callback = %%-java-wait-for-event-callback-%%
### param: Frame.waitForNavigation.callback = %%-java-wait-for-event-callback-%%