Skip to content

Instantly share code, notes, and snippets.

@dapangmao
Last active August 29, 2015 02:26
Show Gist options
  • Save dapangmao/d2755c5b2b8107314132 to your computer and use it in GitHub Desktop.
Save dapangmao/d2755c5b2b8107314132 to your computer and use it in GitHub Desktop.
from selenium import webdriver
import time
driver = webdriver.Chrome()
driver.get('http://www.jandown.com/link.php?ref=5YoRMuQ8')
driver.find_element_by_xpath('/html/body/form/table[2]/tbody/tr/td[2]/input').click()
time.sleep(5)
driver.quit()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment