waylonwalker-com-tests/sample.py
2020-07-22 21:50:06 -05:00

12 lines
311 B
Python

from src.testproject.sdk.drivers import webdriver
if __name__ == "__main__":
driver = webdriver.Chrome()
driver.get("https://waylonwalker.com/")
passed = driver.find_element_by_css_selector(".about").is_displayed()
print("Test passed") if passed else print("Test failed")
driver.quit()