I have this element :
<a> < </a>
This CSS selector was working
a:contains('<')
But for learning I tried to use the following xpath but without success
//a[text()='<']
//a[normalize-space(text())='<']
//a[contains(text(), '<')]
How I can do that with xpath ?
Not sure that xpath is available in the text editor. I belive it must be a valid JS selector.
This is working for me:
a[Text=">"]