Skip to content

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

Tool msg dropdowns

Magnus Müller14a5aaa3ff0a
diff --git a/browser_use/controller/service.py b/browser_use/controller/service.py
index 03639282c..040985809 100644
--- a/browser_use/controller/service.py
+++ b/browser_use/controller/service.py
@@ -858,7 +858,7 @@ Provide the extracted information in a clear, structured format."""
raise ValueError(error_msg) from e
@self.registry.action(
- 'Select dropdown option by exact text from any dropdown type (native <select>, ARIA menus, or custom dropdowns). Searches target element and children to find selectable options. You only need this for native dropdowns - for most other dropdowns you can just click and select the option yourself. Only use this if the click apporach does not work. Dont use this for non dropdowns.',
+ 'Select dropdown option by exact text from any dropdown type (native <select>, ARIA menus, or custom dropdowns). Searches target element and children to find selectable options.',
param_model=SelectDropdownOptionAction,
)
async def select_dropdown_option(params: SelectDropdownOptionAction, browser_session: BrowserSession):