From 4c58dd1ccaaad4cd01926dde8eed590976f7138f Mon Sep 17 00:00:00 2001 From: Waylon Walker Date: Wed, 22 Jul 2020 21:50:06 -0500 Subject: [PATCH] section.about -> .about --- sample.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")