From f48de1333b388a9e00803e1439315b5faa4d8f5c Mon Sep 17 00:00:00 2001 From: Dou Du Date: Sat, 8 Jun 2024 16:28:52 +0200 Subject: [PATCH] fix the test workflow --- test/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.py b/test/test.py index 632c5b2..3c3b6c6 100644 --- a/test/test.py +++ b/test/test.py @@ -27,7 +27,7 @@ def test_elements(self): try: self.find_element(By.CLASS_NAME, 'element-Si') print("Element Si is fund!") - else: + except: raise Exception("Element Si is NOT found!!!") def download_widget_image(self):