puppeteer/website/versioned_docs/version-20.7.3/api/puppeteer.coverage.startcsscoverage.md

26 lines
844 B
Markdown
Raw Normal View History

---
sidebar_label: Coverage.startCSSCoverage
---
# Coverage.startCSSCoverage() method
2022-10-24 14:31:12 +00:00
#### Signature:
```typescript
class Coverage {
startCSSCoverage(options?: CSSCoverageOptions): Promise<void>;
}
```
## Parameters
| Parameter | Type | Description |
| --------- | ------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
| options | [CSSCoverageOptions](./puppeteer.csscoverageoptions.md) | _(Optional)_ Set of configurable options for coverage, defaults to <code>resetOnNavigation : true</code> |
**Returns:**
Promise&lt;void&gt;
Promise that resolves when coverage is started.