Answers for "get links from website selenium python"

1

selenium python find all links

elems = driver.find_elements_by_xpath("//a[@href]")
for elem in elems:
    print(elem.get_attribute("href"))
Posted by: Guest on June-12-2020
3

how to get the current web page link in selenium pthon

driver.current_url
Posted by: Guest on July-01-2020

Code answers related to "get links from website selenium python"

Python Answers by Framework

Browse Popular Code Answers by Language