puppeteer/website/versioned_docs/version-10.1.0/puppeteer.jscoverage.md
2021-08-10 11:09:48 +01:00

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()