Class TracingOptions
- Namespace
- PuppeteerSharp
- Assembly
- PuppeteerSharp.dll
Tracing options used on StartAsync(TracingOptions).
public class TracingOptions
- Inheritance
-
TracingOptions
Properties
BufferSize
Gets or sets the size of the trace buffer in kilobytes. If not specified or zero is passed, the default value of 200 MB (200,000 KB) is used by Chromium.
public int? BufferSize { get; set; }
Property Value
- int?
The buffer size in kilobytes.
Categories
Gets or sets custom categories to use instead of default.
To exclude a category, prefix it with - (e.g., -toplevel).
public List<string> Categories { get; set; }
Property Value
Path
Gets or sets a path to write the trace file to. If no path is specified, the trace will not be written to disk, but can still be retrieved as a string from StopAsync().
public string Path { get; set; }
Property Value
- string
The path.
Screenshots
Gets or sets a value indicating whether Tracing should capture screenshots in the trace.
public bool Screenshots { get; set; }
Property Value
- bool
Screenshots option.