Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.
Python ai-agentsai-toolsbrowser-agentbrowser-automationbrowser-usecdpcloud-browsercomputer-useheadless-browserllmmcpplaywrightpythonremote-browserstealth-browserweb-automationweb-scraping
Include escape
Magnus Müller5b4f297f4485
diff --git a/browser_use/controller/service.py b/browser_use/controller/service.pyindex e99d76960..bf652cc22 100644--- a/browser_use/controller/service.py+++ b/browser_use/controller/service.py@@ -221,7 +221,7 @@ class Controller:# send keys@self.registry.action(- 'Send strings of special keys like Backspace, Insert, PageDown, Delete, Enter, Shortcuts such as `Control+o`, `Control+Shift+T` are supported as well. This gets used in keyboard.press. Be aware of different operating systems and their shortcuts',+ 'Send strings of special keys like Escape,Backspace, Insert, PageDown, Delete, Enter, Shortcuts such as `Control+o`, `Control+Shift+T` are supported as well. This gets used in keyboard.press. ',param_model=SendKeysAction,)async def send_keys(params: SendKeysAction, browser: BrowserContext):