fix(locators): escape >>
inside a regular expression
#23631
Merged
>>
inside a regular expression
#23631