From 5c1485ea1c07b6d4768b3538880f836929b190ec Mon Sep 17 00:00:00 2001 From: Waylon Walker Date: Wed, 22 Jul 2020 21:46:35 -0500 Subject: [PATCH] Switch to https://waylonwalker.com --- sample.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/sample.py b/sample.py index c07827e..1519cd2 100644 --- a/sample.py +++ b/sample.py @@ -3,13 +3,9 @@ from src.testproject.sdk.drivers import webdriver if __name__ == "__main__": driver = webdriver.Chrome() - driver.get("https://example.testproject.io/web/") + driver.get("https://waylonwalker.com/") - driver.find_element_by_css_selector("#name").send_keys("John Smith") - driver.find_element_by_css_selector("#password").send_keys("12345") - driver.find_element_by_css_selector("#login").click() - - passed = driver.find_element_by_css_selector("#logout").is_displayed() + passed = driver.find_element_by_css_selector("section.about").is_displayed() print("Test passed") if passed else print("Test failed")