I am trying to click on this link:
<a href="updating/login.php" target="_top">Login</a>
with Selenium using Python. l've tried finding and clicking the element by text with this code, but it doesn't work:
elem = rd.driver.find_element_by_link_text("Login")
elem.click()
How can this be achieved?