Skip to main content
Version: 22.9.0

Tracing.start() 方法

¥Tracing.start() method

启动当前页面的跟踪。

¥Starts a trace for the current page.

签名:

¥Signature:

class Tracing {
start(options?: TracingOptions): Promise<void>;
}

参数

¥Parameters

范围

类型

描述

options

TracingOptions

(可选的)可选 TracingOptions

Returns:

Promise<void>

备注

¥Remarks

每个浏览器一次只能有一个跟踪处于活动状态。

¥Only one trace can be active at a time per browser.