Package com.microsoft.playwright
Class Browser.StartTracingOptions
- java.lang.Object
-
- com.microsoft.playwright.Browser.StartTracingOptions
-
-
Field Summary
Fields Modifier and Type Field Description List<String>
categories
specify custom categories to use instead of default.Path
path
A path to write the trace file to.Boolean
screenshots
captures screenshots in the trace.
-
Constructor Summary
Constructors Constructor Description StartTracingOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Browser.StartTracingOptions
setCategories(List<String> categories)
specify custom categories to use instead of default.Browser.StartTracingOptions
setPath(Path path)
A path to write the trace file to.Browser.StartTracingOptions
setScreenshots(boolean screenshots)
captures screenshots in the trace.
-
-
-
Method Detail
-
setCategories
public Browser.StartTracingOptions setCategories(List<String> categories)
specify custom categories to use instead of default.
-
setPath
public Browser.StartTracingOptions setPath(Path path)
A path to write the trace file to.
-
setScreenshots
public Browser.StartTracingOptions setScreenshots(boolean screenshots)
captures screenshots in the trace.
-
-