Created
July 18, 2020 19:27
-
-
Save seleniumgists/7d5948d639774857e8db847775422ab8 to your computer and use it in GitHub Desktop.
generated automatically from #selenium on seleniumhq slack
This file contains hidden or 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
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