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
further limit the error message
mertunsall73a13bc2d93c
diff --git a/browser_use/agent/message_manager/service.py b/browser_use/agent/message_manager/service.pyindex 203af0deb..8f2aba8b3 100644--- a/browser_use/agent/message_manager/service.py+++ b/browser_use/agent/message_manager/service.py@@ -381,7 +381,7 @@ My next action is to click on the iPhone link at index [4] to navigate to Apple'if action_result.memory:action_results += f'Action {idx + 1} Result: {action_result.memory}\n'elif action_result.error:- action_results += f'Action {idx + 1} Error: {action_result.error[:400]}\n'+ action_results += f'Action {idx + 1} Error: {action_result.error[:200]}\n'elif action_result.extracted_content:action_results += f'Action {idx + 1} Result: {action_result.extracted_content}\n'logger.warning(