diff --git a/automon/integrations/seleniumWrapper/browser.py b/automon/integrations/seleniumWrapper/browser.py index 3a67abf5..e704f676 100644 --- a/automon/integrations/seleniumWrapper/browser.py +++ b/automon/integrations/seleniumWrapper/browser.py @@ -184,7 +184,11 @@ async def action_click( element: selenium.webdriver.remote.webelement.WebElement, **kwargs): """perform mouse click""" try: - logger.debug(dict(element=element)) + logger.debug(dict( + tag_name=element.tag_name, + text=element.text, + accessible_name=element.accessible_name, + aria_role=element.aria_role)) return element.click() except Exception as error: