I’m developing a program and part of it is to click on text that says “Incoming email”. Sounds easy enough, but sometimes they’ve already been re-named to “Incoming email - Complete”, for example.
Because it’s set to click “Incoming email”, it clicks the renamed ones too.
Is there a way to look for and click on the EXACT text and nothing more? There’s no way to change what text to look for as everything is automatically named that.
I’ve searched the forum but haven’t found anything, though I’m struggling to believe nobody has had this problem before so apologies if it’s hidden deep in the forum or named something a bit less obvious.
Have you considered using Click Element instead? You can set the selector so it will only find the exact text in the attribute ( ie aaname=‘Incoming email’ with no wildcards)