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
Reduce max actions per step in Agent class from 10 to 1 for improved control over action execution.
mertunsall03c80a74933c
diff --git a/browser_use/agent/service.py b/browser_use/agent/service.pyindex 441c2a565..ee79df773 100644--- a/browser_use/agent/service.py+++ b/browser_use/agent/service.py@@ -171,7 +171,7 @@ class Agent(Generic[Context]):'data-state','aria-checked',],- max_actions_per_step: int = 10,+ max_actions_per_step: int = 1,tool_calling_method: ToolCallingMethod | None = 'auto',page_extraction_llm: BaseChatModel | None = None,planner_llm: BaseChatModel | None = None,