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):