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
updated default max step to 500
Saurav Panda995cb0176ba5
diff --git a/browser_use/agent/service.py b/browser_use/agent/service.pyindex 170cc30e7..adeade90a 100644--- a/browser_use/agent/service.py+++ b/browser_use/agent/service.py@@ -2387,7 +2387,7 @@ class Agent(Generic[Context, AgentStructuredOutput]):@time_execution_async('--run')async def run(self,- max_steps: int = 100,+ max_steps: int = 500,on_step_start: AgentHookFunc | None = None,on_step_end: AgentHookFunc | None = None,) -> AgentHistoryList[AgentStructuredOutput]:@@ -3911,7 +3911,7 @@ class Agent(Generic[Context, AgentStructuredOutput]):def run_sync(self,- max_steps: int = 100,+ max_steps: int = 500,on_step_start: AgentHookFunc | None = None,on_step_end: AgentHookFunc | None = None,) -> AgentHistoryList[AgentStructuredOutput]: