mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
docs(java): clarify source list format (#13431)
This commit is contained in:
parent
e72975d9c6
commit
10b8a8b199
@ -140,7 +140,8 @@ Whether to include source files for trace actions.
|
|||||||
- `sources` <[boolean]>
|
- `sources` <[boolean]>
|
||||||
|
|
||||||
Whether to include source files for trace actions. List of the directories with source code for the application
|
Whether to include source files for trace actions. List of the directories with source code for the application
|
||||||
must be provided via `PLAYWRIGHT_JAVA_SRC` environment variable.
|
must be provided via `PLAYWRIGHT_JAVA_SRC` environment variable (the paths should be separated by ';' on Windows
|
||||||
|
and by ':' on other platforms).
|
||||||
|
|
||||||
### option: Tracing.start.title
|
### option: Tracing.start.title
|
||||||
- `title` <[string]>
|
- `title` <[string]>
|
||||||
|
|||||||
@ -31,17 +31,20 @@ configures Playwright for debugging and opens the inspector.
|
|||||||
```
|
```
|
||||||
|
|
||||||
```bash bash-flavor=bash lang=java
|
```bash bash-flavor=bash lang=java
|
||||||
PWDEBUG=1 PLAYWRIGHT_JAVA_SRC=<java src root> mvn test
|
# Source directories in the list are separated by : on macos and linux and by ; on win.
|
||||||
|
PWDEBUG=1 PLAYWRIGHT_JAVA_SRC=<java source dirs> mvn test
|
||||||
```
|
```
|
||||||
|
|
||||||
```bash bash-flavor=batch lang=java
|
```bash bash-flavor=batch lang=java
|
||||||
set PLAYWRIGHT_JAVA_SRC=<java src root>
|
# Source directories in the list are separated by : on macos and linux and by ; on win.
|
||||||
|
set PLAYWRIGHT_JAVA_SRC=<java source dirs>
|
||||||
set PWDEBUG=1
|
set PWDEBUG=1
|
||||||
mvn test
|
mvn test
|
||||||
```
|
```
|
||||||
|
|
||||||
```bash bash-flavor=powershell lang=java
|
```bash bash-flavor=powershell lang=java
|
||||||
$env:PLAYWRIGHT_JAVA_SRC="<java src root>"
|
# Source directories in the list are separated by : on macos and linux and by ; on win.
|
||||||
|
$env:PLAYWRIGHT_JAVA_SRC="<java source dirs>"
|
||||||
$env:PWDEBUG=1
|
$env:PWDEBUG=1
|
||||||
mvn test
|
mvn test
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user