Skip to main content
Version: Next

TracingOptions interface

Signature

export interface TracingOptions

Properties

Property

Modifiers

Type

Description

Default

bufferSize

optional

number

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.

categories

optional

string[]

The tracing categories to include/exclude.

To exclude a category, prefix it with - (e.g., -toplevel).

Default categories listed in the implementation.

path

optional

string

The file path to write the trace to. If no path is specified, the trace will not be written to disk, but can still be retrieved as a Uint8Array from tracing.stop().

screenshots

optional

boolean

Whether to capture screenshots in the trace.

false