Skip to content

Instantly share code, notes, and snippets.

@trobert2
Created October 26, 2018 16:14
Show Gist options
  • Save trobert2/b30f64bcd6aaf6fc1cd469a717c5cbd1 to your computer and use it in GitHub Desktop.
Save trobert2/b30f64bcd6aaf6fc1cd469a717c5cbd1 to your computer and use it in GitHub Desktop.
browser = webdriver.Firefox()
browser.get(idpentryurl)
username = browser.find_element_by_id("userNameInput")
password = browser.find_element_by_id("passwordInput")
username.send_keys("robert@someplace.com")
password.send_keys("change me")
browser.find_element_by_id("submitButton").click()
browser.find_element_by_id("continueButton").click()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment