mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
1.8 KiB
1.8 KiB
Home > puppeteer > Protocol > Tracing > StartRequest
Protocol.Tracing.StartRequest interface
Signature:
export interface StartRequest
Properties
Property | Type | Description |
---|---|---|
bufferUsageReportingInterval | number | If set, the agent will issue bufferUsage events at this interval, specified in milliseconds |
categories | string | Category/tag filter |
options | string | Tracing options |
streamCompression | StreamCompression | Compression format to use. This only applies when using ReturnAsStream transfer mode (defaults to none ) |
streamFormat | StreamFormat | Trace data format to use. This only applies when using ReturnAsStream transfer mode (defaults to json ). |
traceConfig | TraceConfig | |
transferMode | ('ReportEvents' | 'ReturnAsStream') | Whether to report trace events as series of dataCollected events or to save trace to a stream (defaults to ReportEvents ). |