Skip to content

Commit

Permalink
selenium: fix type secret
Browse files Browse the repository at this point in the history
  • Loading branch information
naisanzaa committed Jul 3, 2024
1 parent d7bec9d commit 59f4e80
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions automon/integrations/seleniumWrapper/browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,11 +201,13 @@ async def action_type(
"""perform keyboard command"""

if secret:
key = f'*' * len(key)

logger.debug(str(dict(
send_keys=key,
)))
logger.debug(dict(
send_keys=f'*' * len(key),
))
else:
logger.debug(dict(
send_keys=key,
))

try:
return selenium.webdriver.common.action_chains.ActionChains(
Expand Down

0 comments on commit 59f4e80

Please sign in to comment.