Tagged Questions
3
votes
3answers
4k views
A way to match on text using CSS locators
So I use xpath locators and slowly converting to CSS.
I haven't found a way to do an exact match based on text.
For example converting //a[text()='Log Out'].
I know you can do css=a:contains('Log ...