I have the below element on a webpage I am trying to scrape.
<a href="http://www.mylink/?p=20391">Sup Bonds Result June 26, 2018</a>
Below is the code that I am trying to use but doesn't seem to be working although the value exists. It worked for initial few instances but then isn't providing any result.
try:
element=driver.find_element_by_partial_text('Sup Bonds Result June 26, 2018')
except NoSuchElementException:
driver.quit()
below is the error that i Received, I have already used the time.sleep o allow sometime for the script to locate the element.
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"link text","selector":"Sup Bonds Result June 26, 2018"}
Any help is appreciated.