section.about -> .about

This commit is contained in:
Waylon Walker 2020-07-22 21:50:06 -05:00 committed by GitHub
parent 5c1485ea1c
commit 4c58dd1cca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@ if __name__ == "__main__":
driver.get("https://waylonwalker.com/") 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") print("Test passed") if passed else print("Test failed")