Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

increase delay between keystrokes to avoid laggy js keyUp event handlers messing with input

Nick Sweetinge2d777a34756
diff --git a/browser_use/browser/default_action_watchdog.py b/browser_use/browser/default_action_watchdog.py
index 28cfc003a..05964c2e0 100644
--- a/browser_use/browser/default_action_watchdog.py
+++ b/browser_use/browser/default_action_watchdog.py
@@ -782,7 +782,7 @@ class DefaultActionWatchdog(BaseWatchdog):
session_id=cdp_session.session_id,
)
# Small delay between characters
- await asyncio.sleep(0.05)
+ await asyncio.sleep(0.09)
except Exception as e:
self.logger.error(f'Failed to input text via CDP: {type(e).__name__}: {e}')