mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
1.6 KiB
1.6 KiB
Home > puppeteer > JSCoverage
JSCoverage class
Signature:
export declare class JSCoverage
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(client) | Constructs a new instance of the JSCoverage class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
_client | CDPSession | ||
_enabled | boolean | ||
_eventListeners | PuppeteerEventListener[] | ||
_reportAnonymousScripts | boolean | ||
_resetOnNavigation | boolean | ||
_scriptSources | Map<string, string> | ||
_scriptURLs | Map<string, string> |
Methods
Method | Modifiers | Description |
---|---|---|
_onExecutionContextsCleared() | ||
_onScriptParsed(event) | ||
start(options) | ||
stop() |