puppeteer/new-docs/puppeteer.jscoverageoptions.md

742 B

Home > puppeteer > JSCoverageOptions

JSCoverageOptions interface

Set of configurable options for JS coverage.

Signature:

export interface JSCoverageOptions 

Properties

Property Type Description
reportAnonymousScripts boolean Whether anonymous scripts generated by the page should be reported.
resetOnNavigation boolean Whether to reset coverage on every navigation.