Package com.microsoft.playwright
Class Browser.StartTracingOptions
- java.lang.Object
-
- com.microsoft.playwright.Browser.StartTracingOptions
-
- Enclosing interface:
- Browser
public static class Browser.StartTracingOptions extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<java.lang.String>categoriesspecify custom categories to use instead of default.java.nio.file.PathpathA path to write the trace file to.java.lang.Booleanscreenshotscaptures screenshots in the trace.
-
Constructor Summary
Constructors Constructor Description StartTracingOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Browser.StartTracingOptionssetCategories(java.util.List<java.lang.String> categories)specify custom categories to use instead of default.Browser.StartTracingOptionssetPath(java.nio.file.Path path)A path to write the trace file to.Browser.StartTracingOptionssetScreenshots(boolean screenshots)captures screenshots in the trace.
-
-
-
Method Detail
-
setCategories
public Browser.StartTracingOptions setCategories(java.util.List<java.lang.String> categories)
specify custom categories to use instead of default.
-
setPath
public Browser.StartTracingOptions setPath(java.nio.file.Path path)
A path to write the trace file to.
-
setScreenshots
public Browser.StartTracingOptions setScreenshots(boolean screenshots)
captures screenshots in the trace.
-
-