@@ -90,7 +90,7 @@ this.RulesMatcher = this.RulesMatcher || (() => {
matchedElements = [];
} else {
matchedElements = doc.querySelectorAll(selectorText);
- if (!matchedElements.length && !unmatchedSelectorsCache.find(selectorText)) {
+ if (!matchedElements.length && !unmatchedSelectorsCache.includes(selectorText)) {
unmatchedSelectorsCache.push(selectorText);
}