How to find an element by href value using selenium python?
You can try this:
driver.find_element_by_xpath('//a[contains(@href,"href")]')
You can use find_element_by_xpath functionality.
driver.find_element_by_xpath('//a[@href="'+url+'"]')
You can try this:
driver.find_element_by_xpath('//a[contains(@href,"href")]')
You can use find_element_by_xpath functionality.
driver.find_element_by_xpath('//a[@href="'+url+'"]')