puppeteer/docs/api/puppeteer.coverageentry.md

90 lines
792 B
Markdown
Raw Normal View History

2022-07-05 13:41:43 +00:00
---
sidebar_label: CoverageEntry
---
# CoverageEntry interface
The CoverageEntry class represents one entry of the coverage report.
#### Signature:
2022-07-05 13:41:43 +00:00
```typescript
export interface CoverageEntry
```
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th><th>
Default
</th></tr></thead>
<tbody><tr><td>
ranges
</td><td>
</td><td>
Array&lt;&#123; start: number; end: number; &#125;&gt;
</td><td>
The covered range as start and end positions.
</td><td>
</td></tr>
<tr><td>
text
</td><td>
</td><td>
string
</td><td>
The content of the style sheet or script.
</td><td>
</td></tr>
<tr><td>
url
</td><td>
</td><td>
string
</td><td>
The URL of the style sheet or script.
</td><td>
</td></tr>
</tbody></table>