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 dropdown options hints in llm error
Nick Sweetingb1ca5bd8e1ee
diff --git a/browser_use/browser/default_action_watchdog.py b/browser_use/browser/default_action_watchdog.pyindex fc0c2f7ba..4f5519bc0 100644--- a/browser_use/browser/default_action_watchdog.py+++ b/browser_use/browser/default_action_watchdog.py@@ -547,7 +547,7 @@ class DefaultActionWatchdog(BaseWatchdog):element_info += f' index={element_node.element_index}'element_info += '>'raise Exception(- f'<llm_error_msg>Failed to click element {element_info}. The element may not be interactable or visible.</llm_error_msg> Details: {type(e).__name__}: {e}'+ f'<llm_error_msg>Failed to click element {element_info}. The element may not be interactable or visible. {type(e).__name__}: {e}</llm_error_msg>')async def _type_to_page(self, text: str):