We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e047ce6 commit 3cb4b43Copy full SHA for 3cb4b43
_chromium.js
@@ -42,7 +42,8 @@ exports.extractCss = async url => {
42
const page = await getPage()
43
44
// Start CSS coverage. This is the meat and bones of this module
45
- await page.coverage.startCSSCoverage()
+ // Fail silently if it's already enabled
46
+ await page.coverage.startCSSCoverage().catch(() => {})
47
48
const response = await page.goto(url, {waitUntil: 'networkidle2'})
49
0 commit comments