Skip to content

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

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

Yury Semikhatskye625e17dc31e
diff --git a/docs/src/api/java.md b/docs/src/api/java.md
index bb86de5c3b..165329f346 100644
--- a/docs/src/api/java.md
+++ b/docs/src/api/java.md
@@ -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-%%