puppeteer/website/versioned_docs/version-9.1.1/puppeteer.coverage.startcsscoverage.md
2021-08-10 11:09:48 +01:00

707 B

Home > puppeteer > Coverage > startCSSCoverage

Coverage.startCSSCoverage() method

Signature:

startCSSCoverage(options?: CSSCoverageOptions): Promise<void>;

Parameters

Parameter Type Description
options CSSCoverageOptions Set of configurable options for coverage, defaults to resetOnNavigation : true

Returns:

Promise<void>

Promise that resolves when coverage is started.