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 e89ac6e commit afadea6Copy full SHA for afadea6
src/index.js
@@ -52,7 +52,8 @@ module.exports = async (url, {waitUntil = 'networkidle0'} = {}) => {
52
// See: https://developer.mozilla.org/en-US/docs/Web/API/CSSRule/cssText
53
const styleSheetsApiCss = await page.evaluate(() => {
54
return [...document.styleSheets]
55
- // Only take the stylesheets without href (BUT WHY)
+ // Only take the stylesheets without href, because those with href are
56
+ // <link> tags, and we already tackled those with the Coverage API
57
.filter(stylesheet => stylesheet.href === null)
58
.map(stylesheet => {
59
return {
0 commit comments