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
Update action messages for clarity in agent and dropdown tool
Magnus Müllerba148ebb8691
diff --git a/browser_use/agent/service.py b/browser_use/agent/service.pyindex a6fb4eadf..2bbe691a1 100644--- a/browser_use/agent/service.py+++ b/browser_use/agent/service.py@@ -1476,7 +1476,7 @@ class Agent(Generic[Context, AgentStructuredOutput]):if orig_target_hash != new_target_hash:# Get names of remaining actions that won't be executedremaining_actions_str = get_remaining_actions_str(actions, i)- msg = f'Page changed after action {i} / {total_actions}: actions {remaining_actions_str} were not executed'+ msg = f'Page changed after action: actions {remaining_actions_str} are not yet executed'logger.info(msg)results.append(ActionResult(diff --git a/browser_use/tools/service.py b/browser_use/tools/service.pyindex 4ea335dd2..cf4109dae 100644--- a/browser_use/tools/service.py+++ b/browser_use/tools/service.py@@ -765,7 +765,7 @@ You will be given a query and the markdown of a webpage that has been filtered t# Dropdown Actions@self.registry.action(- 'Get list of option values exposed by a specific dropdown input field. Only works on dropdown-style form elements (<select>, Semantic UI/aria-labeled select, etc.).',+ 'Get list of values for a dropdown input field. Only works on dropdown-style form elements (<select>, Semantic UI/aria-labeled select, etc.). Do not use this tool for none dropdown elements.',param_model=GetDropdownOptionsAction,)async def get_dropdown_options(params: GetDropdownOptionsAction, browser_session: BrowserSession):