diff --git a/lib/core/utils/get-selector.js b/lib/core/utils/get-selector.js index 47094670..17ffdb0f 100644 --- a/lib/core/utils/get-selector.js +++ b/lib/core/utils/get-selector.js @@ -83,6 +83,7 @@ function countSort(a, b) { function filterAttributes(at) { return ( !ignoredAttributes.includes(at.name) && + !/data-percy-/.test(at.name) && at.name.indexOf(':') === -1 && (!at.value || at.value.length < MAXATTRIBUTELENGTH) );