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

22 lines
759 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [JSCoverageOptions](./puppeteer.jscoverageoptions.md)
## JSCoverageOptions interface
Set of configurable options for JS coverage.
<b>Signature:</b>
```typescript
export interface JSCoverageOptions
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [reportAnonymousScripts?](./puppeteer.jscoverageoptions.reportanonymousscripts.md) | boolean | <i>(Optional)</i> Whether anonymous scripts generated by the page should be reported. |
| [resetOnNavigation?](./puppeteer.jscoverageoptions.resetonnavigation.md) | boolean | <i>(Optional)</i> Whether to reset coverage on every navigation. |