puppeteer/new-docs/puppeteer.protocol.tracing.streamformat.md

14 lines
570 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Tracing](./puppeteer.protocol.tracing.md) &gt; [StreamFormat](./puppeteer.protocol.tracing.streamformat.md)
## Protocol.Tracing.StreamFormat type
Data format of a trace. Can be either the legacy JSON format or the protocol buffer format. Note that the JSON format will be deprecated soon.
<b>Signature:</b>
```typescript
export type StreamFormat = ('json' | 'proto');
```