Skip to content

Commit

Permalink
selenium: fix error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
naisanzaa committed May 10, 2024
1 parent 6a51465 commit 059e021
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion automon/integrations/seleniumWrapper/webdriver_chrome.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 059e021

Please sign in to comment.