puppeteer/website/versioned_docs/version-10.1.0/puppeteer.coverage.startcsscoverage.md

25 lines
707 B
Markdown
Raw Normal View History

2021-08-10 10:09:48 +00:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Coverage](./puppeteer.coverage.md) &gt; [startCSSCoverage](./puppeteer.coverage.startcsscoverage.md)
## Coverage.startCSSCoverage() method
<b>Signature:</b>
```typescript
startCSSCoverage(options?: CSSCoverageOptions): Promise<void>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| options | [CSSCoverageOptions](./puppeteer.csscoverageoptions.md) | Set of configurable options for coverage, defaults to <code>resetOnNavigation : true</code> |
<b>Returns:</b>
Promise&lt;void&gt;
Promise that resolves when coverage is started.