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
Changed consecutive failure to 7
Saurav Panda42cbf9ca1511
diff --git a/browser_use/agent/service.py b/browser_use/agent/service.pyindex 46056195c..bfa67d275 100644--- a/browser_use/agent/service.py+++ b/browser_use/agent/service.py@@ -167,7 +167,7 @@ class Agent(Generic[Context, AgentStructuredOutput]):use_vision: bool | Literal['auto'] = True,save_conversation_path: str | Path | None = None,save_conversation_path_encoding: str | None = 'utf-8',- max_failures: int = 5,+ max_failures: int = 7,override_system_message: str | None = None,extend_system_message: str | None = None,generate_gif: bool | str = False,diff --git a/browser_use/agent/views.py b/browser_use/agent/views.pyindex b73afc5e1..0169e2983 100644--- a/browser_use/agent/views.py+++ b/browser_use/agent/views.py@@ -62,7 +62,7 @@ class AgentSettings(BaseModel):vision_detail_level: Literal['auto', 'low', 'high'] = 'auto'save_conversation_path: str | Path | None = Nonesave_conversation_path_encoding: str | None = 'utf-8'- max_failures: int = 5+ max_failures: int = 7generate_gif: bool | str = Falseoverride_system_message: str | None = Noneextend_system_message: str | None = None