mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
25 lines
1.8 KiB
Markdown
25 lines
1.8 KiB
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Tracing](./puppeteer.protocol.tracing.md) > [StartRequest](./puppeteer.protocol.tracing.startrequest.md)
|
||
|
|
||
|
## Protocol.Tracing.StartRequest interface
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
export interface StartRequest
|
||
|
```
|
||
|
|
||
|
## Properties
|
||
|
|
||
|
| Property | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| [bufferUsageReportingInterval](./puppeteer.protocol.tracing.startrequest.bufferusagereportinginterval.md) | number | If set, the agent will issue bufferUsage events at this interval, specified in milliseconds |
|
||
|
| [categories](./puppeteer.protocol.tracing.startrequest.categories.md) | string | Category/tag filter |
|
||
|
| [options](./puppeteer.protocol.tracing.startrequest.options.md) | string | Tracing options |
|
||
|
| [streamCompression](./puppeteer.protocol.tracing.startrequest.streamcompression.md) | [StreamCompression](./puppeteer.protocol.tracing.streamcompression.md) | Compression format to use. This only applies when using <code>ReturnAsStream</code> transfer mode (defaults to <code>none</code>) |
|
||
|
| [streamFormat](./puppeteer.protocol.tracing.startrequest.streamformat.md) | [StreamFormat](./puppeteer.protocol.tracing.streamformat.md) | Trace data format to use. This only applies when using <code>ReturnAsStream</code> transfer mode (defaults to <code>json</code>). |
|
||
|
| [traceConfig](./puppeteer.protocol.tracing.startrequest.traceconfig.md) | [TraceConfig](./puppeteer.protocol.tracing.traceconfig.md) | |
|
||
|
| [transferMode](./puppeteer.protocol.tracing.startrequest.transfermode.md) | ('ReportEvents' \| 'ReturnAsStream') | Whether to report trace events as series of dataCollected events or to save trace to a stream (defaults to <code>ReportEvents</code>). |
|
||
|
|