section.about -> .about
This commit is contained in:
parent
5c1485ea1c
commit
4c58dd1cca
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue