Escaping wildcards in selectors?

I need to specify one of these 3 elements and I want to use a selector. The only defining feature of the elements are their aanames. They are:
First Name*
First Name?
First Name2*
where both * and ? are single characters (not wildcards) in the aaname. Is there a way I can escape these?

If they are strings, you need to split then, so you can find what you search.

please could you guys help me in solving this ?
@ddpatil @andrzej.kniola @badita @aksh1yadav @arivu96

Thanks in advance!

Hi, there’s actually no way to escape a selector, but what you could do is:

  1. Use Find Children to get all possible elements
  2. Use Get Attribute to get the aaname of the element
  3. Check if the aaname equals the string you need (and then do something with this element if it is)
1 Like

Thank you so much :slight_smile: