Hi @Archie
That is probably the simplest option.
Other methods will add complexity. If you want something more direct you could add regex to the ‘aaname’ Selector.
Simply update the selector to read:
aaname = ‘Required|required’ matching:aaname=‘regex’
Where the bold text is the Regex Pattern.
However your current method is probably the best solution.
Hopefully this helps with your decision