Fixed the is_element_present function AGAIN

This commit is contained in:
axl89 2016-06-14 13:25:45 +02:00
parent 78a1a888fd
commit 03cb8b6f5e
1 changed files with 1 additions and 1 deletions

View File

@ -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