From c7c39e939ed94d8bf40109134c2a28dc9458d4aa Mon Sep 17 00:00:00 2001 From: naisanzaa Date: Tue, 2 Jul 2024 03:18:28 -0700 Subject: [PATCH] selenium: raise exception on missing SELENIUM_CHROMEDRIVER_PATH --- automon/integrations/seleniumWrapper/webdriver_chrome.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automon/integrations/seleniumWrapper/webdriver_chrome.py b/automon/integrations/seleniumWrapper/webdriver_chrome.py index a1697694..ba2ae55b 100644 --- a/automon/integrations/seleniumWrapper/webdriver_chrome.py +++ b/automon/integrations/seleniumWrapper/webdriver_chrome.py @@ -56,7 +56,7 @@ def chromedriver_path(self): if os.path.exists(path): return path - logger.error('missing SELENIUM_CHROMEDRIVER_PATH') + raise Exception('missing SELENIUM_CHROMEDRIVER_PATH') @property def chromedriverVersion(self):