Skip to content

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

Update description

Magnus Müller2f3007b0ea5f
diff --git a/browser_use/controller/service.py b/browser_use/controller/service.py
index c82e24c92..13b497794 100644
--- a/browser_use/controller/service.py
+++ b/browser_use/controller/service.py
@@ -599,7 +599,7 @@ Provide the extracted information in a clear, structured format."""
# Dropdown Actions
@self.registry.action(
- 'Get all options from any dropdown (native <select>, ARIA menus, or custom dropdowns like Semantic UI). Searches target element and up to 4 levels of children to find dropdowns. Works on container elements too.',
+ 'Get all options from any dropdown (native <select>, ARIA menus, or custom dropdowns like Semantic UI). Searches target element and up to 4 levels of children to find dropdowns. This only works on dropdown elements.',
param_model=GetDropdownOptionsAction,
)
async def get_dropdown_options(params: GetDropdownOptionsAction, browser_session: BrowserSession):
@@ -802,7 +802,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.',
+ '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. This only works on interactive elements which look like dropdowns.',
param_model=SelectDropdownOptionAction,
)
async def select_dropdown_option(params: SelectDropdownOptionAction, browser_session: BrowserSession):