get links from website selenium python code example
Example 1: how to get the current web page link in selenium pthon
driver.current_url
Example 2: selenium python find all links
elems = driver.find_elements_by_xpath("//a[@href]")
for elem in elems:
print(elem.get_attribute("href"))