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

41 lines
1.6 KiB
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [JSCoverage](./puppeteer.jscoverage.md)
## JSCoverage class
<b>Signature:</b>
```typescript
export declare class JSCoverage
```
## Constructors
| Constructor | Modifiers | Description |
| --- | --- | --- |
| [(constructor)(client)](./puppeteer.jscoverage._constructor_.md) | | Constructs a new instance of the <code>JSCoverage</code> class |
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [\_client](./puppeteer.jscoverage._client.md) | | [CDPSession](./puppeteer.cdpsession.md) | |
| [\_enabled](./puppeteer.jscoverage._enabled.md) | | boolean | |
| [\_eventListeners](./puppeteer.jscoverage._eventlisteners.md) | | [PuppeteerEventListener](./puppeteer.puppeteereventlistener.md)\[\] | |
| [\_reportAnonymousScripts](./puppeteer.jscoverage._reportanonymousscripts.md) | | boolean | |
| [\_resetOnNavigation](./puppeteer.jscoverage._resetonnavigation.md) | | boolean | |
| [\_scriptSources](./puppeteer.jscoverage._scriptsources.md) | | Map&lt;string, string&gt; | |
| [\_scriptURLs](./puppeteer.jscoverage._scripturls.md) | | Map&lt;string, string&gt; | |
## Methods
| Method | Modifiers | Description |
| --- | --- | --- |
| [\_onExecutionContextsCleared()](./puppeteer.jscoverage._onexecutioncontextscleared.md) | | |
| [\_onScriptParsed(event)](./puppeteer.jscoverage._onscriptparsed.md) | | |
| [start(options)](./puppeteer.jscoverage.start.md) | | |
| [stop()](./puppeteer.jscoverage.stop.md) | | |