Update test_workflow.py
This commit is contained in:
parent
7ebd4033be
commit
618e47de35
|
@ -49,7 +49,7 @@ def main():
|
||||||
print(driver.current_url)
|
print(driver.current_url)
|
||||||
try:
|
try:
|
||||||
WebDriverWait(driver,10).until(EC.text_to_be_present_in_element(("css selector", "main h1"), "OH YEAH, you passed!"))
|
WebDriverWait(driver,10).until(EC.text_to_be_present_in_element(("css selector", "main h1"), "OH YEAH, you passed!"))
|
||||||
except TimeoutError:
|
except TimeoutException:
|
||||||
logging.getLogger().setLevel(20)
|
logging.getLogger().setLevel(20)
|
||||||
driver.reconnect()
|
driver.reconnect()
|
||||||
print(driver.current_url)
|
print(driver.current_url)
|
||||||
|
|
Loading…
Reference in New Issue