new Profiler(inspector): ProfilerAttributes
Creates an instance of Profiler.
Attributes
inspector:
Inspectorsession:
Sessiondestroy(): Promise<void>hasSession(): booleanReturns:
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