mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
ddbb43cd09
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
1.8 KiB
1.8 KiB
sidebar_label |
---|
JSCoverageOptions |
JSCoverageOptions interface
Set of configurable options for JS coverage.
Signature:
export interface JSCoverageOptions
Properties
Property | Modifiers | Type | Description | Default |
---|---|---|---|---|
includeRawScriptCoverage | optional |
boolean | Whether the result includes raw V8 script coverage entries. | |
reportAnonymousScripts | optional |
boolean | Whether anonymous scripts generated by the page should be reported. | |
resetOnNavigation | optional |
boolean | Whether to reset coverage on every navigation. | |
useBlockCoverage | optional |
boolean | Whether 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. |