Created
October 14, 2011 15:47
-
-
Save davehunt/1287466 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from selenium import webdriver | |
from selenium.webdriver.firefox.firefox_binary import FirefoxBinary | |
driver = webdriver.Firefox(firefox_binary=FirefoxBinary('/Applications/Firefox 7.app/Contents/MacOS/firefox-bin')) | |
driver.get('http://input.mozilla.com/') | |
driver.find_element_by_id('show-custom-date').click() | |
driver.find_element_by_id('id_date_start').click() # should pop up a datepicker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from selenium import webdriver | |
driver = webdriver.Firefox() | |
driver.get('http://input.mozilla.com/') | |
driver.find_element_by_id('show-custom-date').click() | |
driver.find_element_by_id('id_date_start').click() # should pop up a datepicker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment