puppeteer/new-docs/puppeteer.coverage.startcsscoverage.md

693 B

Home > puppeteer > Coverage > startCSSCoverage

Coverage.startCSSCoverage() method

Signature:

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

Parameters

Parameter Type Description
options CSSCoverageOptions defaults to { resetOnNavigation : true }

Returns:

Promise<void>

Promise that resolves when coverage is started.