34ff00e2fe
* fix: added parts of website * fix: removed unnecessary lines * fix: updated contributing.md * fix: added parts of sidebar * fix: added all APIs * fix: added version 10.0.0 Co-authored-by: Jack Franklin <jacktfranklin@chromium.org>
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() |