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
Quick Fix to History
mertunsallf3b406f42a55
diff --git a/browser_use/agent/message_manager/service.py b/browser_use/agent/message_manager/service.pyindex 5c619bec9..ce981b501 100644--- a/browser_use/agent/message_manager/service.py+++ b/browser_use/agent/message_manager/service.py@@ -385,7 +385,8 @@ My next action is to click on the iPhone link at index [4] to navigate to Apple'# Handle case where model_output is None (e.g., parsing failed)if model_output is None:- self.agent_history_description += f"""## Step {step_number}+ if step_number > 0:+ self.agent_history_description += f"""## Step {step_number}No model output (parsing failed){action_results}"""