From 618e47de3599e836959e70fa4219797a6d369e18 Mon Sep 17 00:00:00 2001 From: Leon Date: Sat, 3 Jun 2023 02:06:49 +0200 Subject: [PATCH] Update test_workflow.py --- example/test_workflow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/test_workflow.py b/example/test_workflow.py index c2c9136..e1b5ca7 100644 --- a/example/test_workflow.py +++ b/example/test_workflow.py @@ -49,7 +49,7 @@ def main(): print(driver.current_url) try: 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) driver.reconnect() print(driver.current_url)