I have this html line for a button on a webpage
<a href="/registration/profile.html" rel="follow">Your Profile</a>
I’m trying to click the button by selecting something in that line.
For example:
browser.find_element_by_partial_link_text("Your Profile")
browser.find_element_by_xpath('//a[contains(@href,"registration/profile.html")]')
None of them have worked so far. Thanks