puppeteer/website/versioned_docs/version-21.2.1/api/puppeteer.coverageentry.md

22 lines
867 B
Markdown
Raw Normal View History

---
sidebar_label: CoverageEntry
---
# CoverageEntry interface
The CoverageEntry class represents one entry of the coverage report.
#### Signature:
```typescript
export interface CoverageEntry
```
## Properties
| Property | Modifiers | Type | Description | Default |
| -------- | --------- | -------------------------------------------- | --------------------------------------------- | ------- |
| ranges | | Array<{ start: number; end: number; }> | The covered range as start and end positions. | |
| text | | string | The content of the style sheet or script. | |
| url | | string | The URL of the style sheet or script. | |