Skip to main content
Version: 20.8.3

JSCoverageOptions interface

Set of configurable options for JS coverage.

Signature:

export interface JSCoverageOptions

Properties

PropertyModifiersTypeDescriptionDefault
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.