0
0
mirror of https://github.com/puppeteer/puppeteer synced 2024-06-14 14:02:48 +00:00
puppeteer/test/assets/csscoverage/sourceurl.html
Andrey Lushnikov 24354a4879
feat: implement CSS Coverage ()
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

8 lines
74 B
HTML

<style>
body {
padding: 10px;
}
/*# sourceURL=nicename.css */
</style>