Skip to content

Commit

Permalink
selenium: update action_click
Browse files Browse the repository at this point in the history
  • Loading branch information
naisanzaa committed Jul 4, 2024
1 parent c48ae3f commit 4fd8346
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion automon/integrations/seleniumWrapper/browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4fd8346

Please sign in to comment.