Skip to content

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

docs: instpector launch params for java (#5711)

Yury Semikhatskyff91858bd392
diff --git a/docs/src/inspector.md b/docs/src/inspector.md
index 1830debbba..01b67d5227 100644
--- a/docs/src/inspector.md
+++ b/docs/src/inspector.md
@@ -24,6 +24,16 @@ configures Playwright for debugging and opens the inspector.
$ npm run test
```
+ ```sh java
+ # Linux/macOS
+ $ PWDEBUG=1 PLAYWRIGHT_JAVA_SRC=<java src root> mvn test
+
+ # Windows
+ $ set PLAYWRIGHT_JAVA_SRC=<java src root>
+ $ set PWDEBUG=1
+ $ mvn test
+ ```
+
```sh python
# Linux/macOS
$ PWDEBUG=1 pytest -s