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.
This commit is contained in:
Andrey Lushnikov
2018-01-03 18:21:40 -08:00
committed by GitHub
parent f183664d0f
commit 24354a4879
15 changed files with 427 additions and 17 deletions

View File

@@ -20,6 +20,7 @@ const Documentation = require('./Documentation');
const Message = require('../Message');
const EXCLUDE_CLASSES = new Set([
'CSSCoverage',
'Connection',
'Downloader',
'EmulationManager',