Package com.microsoft.playwright
Class Browser.StartTracingOptions
java.lang.Object
com.microsoft.playwright.Browser.StartTracingOptions
- Enclosing interface:
Browser
-
Field Summary
FieldsModifier and TypeFieldDescriptionspecify custom categories to use instead of default.A path to write the trace file to.captures screenshots in the trace. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetCategories(List<String> categories) specify custom categories to use instead of default.A path to write the trace file to.setScreenshots(boolean screenshots) captures screenshots in the trace.
-
Field Details
-
categories
specify custom categories to use instead of default. -
path
A path to write the trace file to. -
screenshots
captures screenshots in the trace.
-
-
Constructor Details
-
StartTracingOptions
public StartTracingOptions()
-
-
Method Details
-
setCategories
specify custom categories to use instead of default. -
setPath
A path to write the trace file to. -
setScreenshots
captures screenshots in the trace.
-