TracingOptions
Namespace: PuppeteerSharp
public class TracingOptionsTracing options used on StartAsync(TracingOptions).
Inheritance: object
Properties
Section titled “Properties”BufferSize
Section titled “BufferSize”public int? BufferSize { get; set; }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.
Value: int? — The buffer size in kilobytes.
Categories
Section titled “Categories”public List<string> Categories { get; set; }Gets or sets custom categories to use instead of default.
To exclude a category, prefix it with - (e.g., -toplevel).
Value: List<string> — The categories.
public string Path { get; set; }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().
Value: string — The path.
Screenshots
Section titled “Screenshots”public bool Screenshots { get; set; }Gets or sets a value indicating whether Tracing should capture screenshots in the trace.
Value: bool — Screenshots option.
Made with love by Dario Kondratiuk