diff --git a/automon/integrations/seleniumWrapper/webdriver_chrome.py b/automon/integrations/seleniumWrapper/webdriver_chrome.py index a8d2448a..c94320c5 100644 --- a/automon/integrations/seleniumWrapper/webdriver_chrome.py +++ b/automon/integrations/seleniumWrapper/webdriver_chrome.py @@ -24,7 +24,8 @@ def __init__(self): self.update_paths(self.chromedriver_path) - logger.error('missing SELENIUM_CHROMEDRIVER_PATH') + if not self.chromedriver_path: + logger.error('missing SELENIUM_CHROMEDRIVER_PATH') def __repr__(self): if self._webdriver: