Improve 'trusted-click-element' — check for 'containsText' of all matched selectors #468
Labels
enhancement
Improvement of existent feature
Priority: P4
Resolution: Fixed
Status: Resolved
Version: Scriptlets v2.0
It seems, at the moment,
containsText
checks only the first matched element, and cannot be used for buttons without different attributes.Expected:
containsText
containsText
(if matched more than one)Example with a wide selector, where
containsText
must help:example.com#%#//scriptlet('trusted-click-element', 'button', 'containsText:Accept necessary')
The text was updated successfully, but these errors were encountered: