Skip to content

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

docs(java): add API for providing source locations (#10998)

Yury Semikhatsky1dd8325c9a4e
diff --git a/docs/src/api/class-tracing.md b/docs/src/api/class-tracing.md
index 8dcf3a7563..1cb2e5e01e 100644
--- a/docs/src/api/class-tracing.md
+++ b/docs/src/api/class-tracing.md
@@ -133,6 +133,13 @@ Whether to capture DOM snapshot on every action.
Whether to include source files for trace actions.
+### option: Tracing.start.sources
+* langs: java
+- `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.
+
### option: Tracing.start.title
- `title` <[string]>