puppeteer/docs/api/puppeteer.coverage.startcsscoverage.md

49 lines
629 B
Markdown
Raw Normal View History

2022-07-05 13:41:43 +00:00
---
sidebar_label: Coverage.startCSSCoverage
---
# Coverage.startCSSCoverage() method
#### Signature:
2022-07-05 13:41:43 +00:00
```typescript
class Coverage {
startCSSCoverage(options?: CSSCoverageOptions): Promise<void>;
}
```
## Parameters
<table><thead><tr><th>
2022-07-05 13:41:43 +00:00
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
options
</td><td>
[CSSCoverageOptions](./puppeteer.csscoverageoptions.md)
</td><td>
_(Optional)_ Set of configurable options for coverage, defaults to `resetOnNavigation : true`
</td></tr>
</tbody></table>
2022-07-05 13:41:43 +00:00
**Returns:**
Promise&lt;void&gt;
Promise that resolves when coverage is started.