Fixed the is_element_present function AGAIN
This commit is contained in:
parent
78a1a888fd
commit
03cb8b6f5e
|
@ -63,4 +63,4 @@ def is_element_present(driver, how, what):
|
|||
from selenium.common.exceptions import NoSuchElementException
|
||||
try: driver.find_element(by=how, value=what)
|
||||
except NoSuchElementException: return False
|
||||
return True
|
||||
return True
|
||||
|
|
Loading…
Reference in New Issue