puppeteer/test/assets/csscoverage/simple.html
Andrey Lushnikov 24354a4879
feat: implement CSS Coverage (#1714)
This patch adds two new methods to the `page.coverage` namespace:
- `page.coverage.startCSSCoverage()` - to initiate css coverage
- `page.coverage.stopCSSCoverage()` - to stop css coverage

The coverage format is consistent with the JavaScript coverage.
2018-01-03 18:21:40 -08:00

7 lines
83 B
HTML

<style>
div { color: green; }
a { color: blue; }
</style>
<div>hello, world</div>