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

643 B

Home > puppeteer > Coverage > stopCSSCoverage

Coverage.stopCSSCoverage() method

Signature:

stopCSSCoverage(): Promise<CoverageEntry[]>;

Returns:

Promise<CoverageEntry[]>

Promise that resolves to the array of coverage reports for all stylesheets.

Remarks

CSS Coverage doesn't include dynamically injected style tags without sourceURLs.