Skip to content

Instantly share code, notes, and snippets.

@lgsantiago
Last active October 25, 2020 19:41
Show Gist options
  • Select an option

  • Save lgsantiago/efd3d4c01a8645735bf18370ce687596 to your computer and use it in GitHub Desktop.

Select an option

Save lgsantiago/efd3d4c01a8645735bf18370ce687596 to your computer and use it in GitHub Desktop.
from selenium import webdriver
import credentials
# Navigate to Wodify
chrome_driver = webdriver.Chrome()
chrome_driver.implicitly_wait(10)
chrome_driver.get("https://app.wodify.com")
# Sign in to Wodify
chrome_driver.find_element_by_id("Input_UserName").send_keys(credentials.user_name)
chrome_driver.find_element_by_id("Input_Password").send_keys(credentials.wod_password)
chrome_driver.\
find_element_by_css_selector("#FormLogin > div.LoginWrapper.text-shade2 > div:nth-child(5) > button")\
.click()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment