From 1dd8325c9a4e62dd56615a9b7f8c86e76fd5fe14 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Fri, 17 Dec 2021 10:50:47 -0800 Subject: [PATCH] docs(java): add API for providing source locations (#10998) --- docs/src/api/class-tracing.md | 7 +++++++ 1 file changed, 7 insertions(+) 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]>