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
Switch max error and attributes in arguments
magmueller9ca311652e9a
diff --git a/browser_use/agent/prompts.py b/browser_use/agent/prompts.pyindex ab1d3046b..c14c8db0b 100644--- a/browser_use/agent/prompts.py+++ b/browser_use/agent/prompts.py@@ -106,8 +106,8 @@ class AgentMessagePrompt:self,state: BrowserState,result: Optional[ActionResult] = None,- max_error_length: int = 400,include_attributes: list[str] = [],+ max_error_length: int = 400,):self.state = stateself.result = result