new Profiler(inspector): Profiler
Attributes
Creates an instance of Profiler.
Attributes
inspector:
Inspectorsession:
Sessiondestroy(): Promise<void>
hasSession(): boolean
Returns:
booleansendCommand(method, params?): Promise<any>
Attributes
Returns promise for the result.
startProfiling(): Promise<void> | Promise<[any, any, any]>
stopProfiling(): Promise<{ profile: { endTime: number; startTime: number } }>
Returns }>} profile result.
Attributes
Session:
typeof Session