I want to find all elements in xpath by class and text. I have tried this but it does not work.
//*[contains(@class, 'myclass')]//*[text() = 'qwerty']
I am trying to find all elements that have a class of 'myclass' and the text is 'qwert' (these will be span elements)