puppeteer/website/versioned_docs/version-22.10.0/api/puppeteer.jscoverage._constructor_.md

44 lines
448 B
Markdown
Raw Normal View History

---
sidebar_label: JSCoverage.(constructor)
---
# JSCoverage.(constructor)
Constructs a new instance of the `JSCoverage` class
2022-10-24 14:31:12 +00:00
#### Signature:
```typescript
class JSCoverage {
constructor(client: CDPSession);
}
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
client
</td><td>
[CDPSession](./puppeteer.cdpsession.md)
</td><td>
</td></tr>
</tbody></table>