I am trying to find an element on page using xpath but every time I am getting element not found what’s wrong here kindly suggest
Url - https://multi-verse-js.herokuapp.com/main.html
Xpath Value I am using for query - xpath: //a[@class='active'][text()='Web-Search']
Element name I am searching - Web-search
>Solution :
You can use partial linkText
partial Linktext: Web-Search
xPath = //a[contains(text(), 'Web-Search')]