I would like to click on the dynamic URL using selenium python from a web page. I have the following HTML where 123456 is dynamic text linked to dynamic URL. I am not able to use driver.find_element_by_link_text()
as text also dynamic. Can someone please help me with this?
<td class="resultsColumn"><a href="xyz.jsp?serviceID=123456=">123456</a></td>
Note: Both URL and Text also dynamic