Skip to content

Instantly share code, notes, and snippets.

@gitdagray
Created February 18, 2018 17:37
Show Gist options
  • Save gitdagray/3ceefebff3b91a167686e2fc2c0d2462 to your computer and use it in GitHub Desktop.
Save gitdagray/3ceefebff3b91a167686e2fc2c0d2462 to your computer and use it in GitHub Desktop.
Launching Selenium on Kanview
#launch url
url = "http://kanview.ks.gov/PayRates/PayRates_Agency.aspx"
# create a new Firefox session
driver = webdriver.Firefox()
driver.implicitly_wait(30)
driver.get(url)
python_button = driver.find_element_by_id('MainContent_uxLevel1_Agencies_uxAgencyBtn_33') #FHSU
python_button.click() #click fhsu link
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment