Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

selenium python find all links

elems = driver.find_elements_by_xpath("//a[@href]")
for elem in elems:
    print(elem.get_attribute("href"))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #selenium #python #find #links
ADD COMMENT
Topic
Name
4+1 =