I am using Selenium with Cucumber to automate one web application, But I am stuck at one element which is not working out with the XPaths and link text
I also applied the implicit and Explicit wait, hover mouse functionality using actions driver also there are no iframes involved either
But nothing seems to work out. Can someone help me with this??
This is the web element I need to click and the HTML
I tried following XPaths: Upon validating on console them point to the web element but on when I using it in the script it throws the exception.
//a[contains(text(),'Logout')
//div[@class='pull-right']/a
//*[@class='logout_class curPnt']