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
Describe the click action better
Magnus Müller1730cf6fd7a3
diff --git a/browser_use/controller/service.py b/browser_use/controller/service.pyindex 6e6f4dd72..10b08d66c 100644--- a/browser_use/controller/service.py+++ b/browser_use/controller/service.py@@ -235,7 +235,7 @@ class Controller(Generic[Context]):# Element Interaction Actions@self.registry.action(- 'Click element by index, set new_tab=True to open any resulting navigation in a new tab',+ 'Click element by index, set new_tab=True to open any resulting navigation in a new tab. Only click on indices that are inside your current browser_state. Never click or assume not existing indices.',param_model=ClickElementAction,)async def click_element_by_index(params: ClickElementAction, browser_session: BrowserSession):@@ -259,7 +259,7 @@ class Controller(Generic[Context]):return ActionResult(error=error_msg)@self.registry.action(- 'Click and input text into a input interactive element',+ 'Click and input text into a input interactive element. Only input text into indices that are inside your current browser_state. Never input text into indices that are not inside your current browser_state.',param_model=InputTextAction,)async def input_text(params: InputTextAction, browser_session: BrowserSession, has_sensitive_data: bool = False):