I want to click on an element which contains class and title in selenium python.
A webpage contains certain folders with unique name. I want to click on a folder by specifying its name or title. Below is the html tag. I tried many ways but I am ending up with errors.
<div class="folder">
<p>
<a alt="ABC" title="ABC">ABC</a>
</p>
</div>
Initially, it used to work with below :
driver.find_element_by_xpath("//a[@title='ABC']").click()
But now it says unable to locate element. Please help me to solve this.
Error:
"selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element"