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
Improved error for timeout
Magnus Müllerc7f266d52a8d
diff --git a/browser_use/agent/service.py b/browser_use/agent/service.pyindex 88245dba1..1e2169de5 100644--- a/browser_use/agent/service.py+++ b/browser_use/agent/service.py@@ -742,7 +742,7 @@ class Agent(Generic[Context, AgentStructuredOutput]):)except TimeoutError:raise TimeoutError(- f'LLM call timed out after {self.settings.llm_timeout} seconds. Generate less tokens and try again.'+ f'LLM call timed out after {self.settings.llm_timeout} seconds. Keep your thinking and output short.')self.state.last_model_output = model_output