diff --git a/sample.py b/sample.py index 1519cd2..904c65a 100644 --- a/sample.py +++ b/sample.py @@ -5,7 +5,7 @@ if __name__ == "__main__": driver.get("https://waylonwalker.com/") - passed = driver.find_element_by_css_selector("section.about").is_displayed() + passed = driver.find_element_by_css_selector(".about").is_displayed() print("Test passed") if passed else print("Test failed")