if you search for special tag use from find_element_by_id or classname or xpathand then use get_attribute('href')
in this example print all attribute for a tags
ids = self.driver.find_elements_by_xpath('//*[@href]') for id in ids: print(id.get_attribute('href'))