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.
clickable
1 parent d4b081e commit 3918d22Copy full SHA for 3918d22
1 file changed
src/locators/element-filter.ts
@@ -163,7 +163,9 @@ export function shouldIncludeElement(
163
} = filters;
164
165
if (!matchesTagFilters(element, includeTagNames, excludeTagNames)) {
166
- return false;
+ if (element.attributes?.clickable !== 'true') {
167
+ return false;
168
+ }
169
}
170
171
if (!matchesAttributeFilters(element, requireAttributes, minAttributeCount)) {
0 commit comments