TracingOptions 接口
🌐 TracingOptions interface
语法
🌐 Signature
export interface TracingOptions
属性
🌐 Properties
|
属性 🌐 Property |
修饰符 🌐 Modifiers |
类型 🌐 Type |
描述 🌐 Description |
默认 🌐 Default |
|---|---|---|---|---|
|
bufferSize |
|
number |
跟踪缓冲区的大小,单位是千字节。如果未指定或传入零,Chromium 会使用默认值 200 MB(200,000 KB)。 🌐 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 |
|
string[] |
要包含/排除的跟踪类别。 🌐 The tracing categories to include/exclude. 要排除一个类别,在前面加上 🌐 To exclude a category, prefix it with |
实现中列出的默认类别。 🌐 Default categories listed in the implementation. |
|
path |
|
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 | |
|
screenshots |
|
boolean |
是否在跟踪中捕获截图。 🌐 Whether to capture screenshots in the trace. |
|