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]>
|
||||
|
||||
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
|
||||
- `title` <[string]>
|
||||
|
||||
@ -31,17 +31,20 @@ configures Playwright for debugging and opens the inspector.
|
||||
```
|
||||
|
||||
```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
|
||||
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
|
||||
mvn test
|
||||
```
|
||||
|
||||
```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
|
||||
mvn test
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user