Python tutorials with source code, examples, guides, and tips and tricks for Windows and Linux development.
Pages
▼
Sunday, July 14, 2013
Selenium python module and links.
Just see my old tutorial to run the selenium module. NOTE: If your script not run when you try to login then use python shell :P
Now add the next source code to see the links and some infos.
links = browser.find_elements_by_partial_link_text('')
for link in links:
print link.get_attribute("href")