But if I replace the characters with a wild card, the variable name will not be able to match the aaname selector?
Background is that I have created a variable to store The recordID value that is obtained from Excel file.
The recordID can be 12345 or AB(BC)/EFG/22006 (with special characters e.g. “(” and “/” and “-“)
Thereafter, I passed this variable to a selector. I noticed that if the recordID is “12345”, the selector works fine (can click the link).
But if it is “AB(BC)/EFG/22006”, there is issue with the selector (i.e. cannot find the aaname and thus cannot click the link).