I have a question regarding xpath. I try to locate the element that is in a drop down for example Surveys when I try to search using contains it is working
//li[contains(text(),'Surveys')]
But when I tried to search exact it is failed
//li[text()='Surveys']
Can someone please advise?