From f9b55940253dd58766e95851efaaeba3c50458c6 Mon Sep 17 00:00:00 2001 From: naisanzaa Date: Sat, 4 Nov 2023 15:25:47 -0700 Subject: [PATCH] selenium: update config_webdriver_chrome --- .../integrations/seleniumWrapper/config_webdriver_chrome.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/automon/integrations/seleniumWrapper/config_webdriver_chrome.py b/automon/integrations/seleniumWrapper/config_webdriver_chrome.py index f743c738..6741a5ca 100644 --- a/automon/integrations/seleniumWrapper/config_webdriver_chrome.py +++ b/automon/integrations/seleniumWrapper/config_webdriver_chrome.py @@ -27,9 +27,11 @@ def __init__(self): def __repr__(self): if self._webdriver: return str(dict( - module=__class__.__name__, - webdriver=self.webdriver, + name=self.webdriver.name, + browserVersion=self.webdriver.capabilities.get('browserVersion'), + chromedriverVersion=self.webdriver.capabilities.get('chrome').get('chromedriverVersion'), chromedriver=self.chromedriver, + webdriver=self.webdriver, )) return f'{__class__}'