Skip to main content
Version: 22.3.0

JSCoverageOptions interface

Set of configurable options for JS coverage.


export interface JSCoverageOptions


includeRawScriptCoverageoptionalbooleanWhether the result includes raw V8 script coverage entries.
reportAnonymousScriptsoptionalbooleanWhether anonymous scripts generated by the page should be reported.
resetOnNavigationoptionalbooleanWhether to reset coverage on every navigation.
useBlockCoverageoptionalbooleanWhether to collect coverage information at the block level. If true, coverage will be collected at the block level (this is the default). If false, coverage will be collected at the function level.