Skip to content

Instantly share code, notes, and snippets.

@seleniumgists
Created July 18, 2020 19:27
Show Gist options
  • Save seleniumgists/7d5948d639774857e8db847775422ab8 to your computer and use it in GitHub Desktop.
Save seleniumgists/7d5948d639774857e8db847775422ab8 to your computer and use it in GitHub Desktop.
generated automatically from #selenium on seleniumhq slack
def test_registration(driver):
driver = driver.find_element_by_class_name("login").click()
time.sleep(10)
createAcc_email = driver.find_element_by_id('email_create')
createAcc_email.send_keys("<mailto:[email protected]|[email protected]>")
# From driver(index) -> sign in button -> new page
#on new page fill in email feild and submit
def main():
driver = webdriver.Chrome()
driver.get("<http://automationpractice.com/index.php>")
test_registration(driver)
if __name__ == "__main__":
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment