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
more error categories
Alezander988b8dd3a02eb
diff --git a/eval/comprehensive_judge.py b/eval/comprehensive_judge.pyindex 1e7ab9665..f4122cb01 100644--- a/eval/comprehensive_judge.py+++ b/eval/comprehensive_judge.py@@ -31,6 +31,9 @@ logger = logging.getLogger(__name__)class ErrorCategory(Enum):# Access & AuthenticationCAPTCHA = 'captcha'+ CLOUDFLARE_BLOCKED = 'cloudflare_blocked'+ NEED_2FA = 'need_2fa'+ INVALID_CREDENTIALS = 'invalid_credentials'LOGIN_FAILED = 'login_failed'# LLM@@ -360,8 +363,10 @@ The browser-use agent operates in iterative loops receiving structured input:- Notes for the error categories:- Use the main error - e.g. if we cant login and thats why we dont have an output we should use the login_failed error category- The error category list is sequential - so check if an error before is matching better and use that instead-- captcha includes traditional captchas, Cloudflare challenges, CloudFront and any other anti-bot protection systems that block task completion like challenges or 403 errors-- partial_output means we collected some part of the output but some is missing+- captcha includes traditional captchas and any other anti-bot protection systems that block task completion+- cloudflare_blocked means the agent was blocked by Cloudflare challenge or notice+- need_2fa means the agent needs to complete a 2FA step to login and was unable to do so+- invalid_credentials means the agent used the provided credentials to login but they were invalid- partial_output means we collected some part of the output but some is missing- tool_failed means a tool like scrolling or file interaction failed or can be improved because functionality which would be helpful was missing - mention that in the improvement tips- infinite_loop means the agent is stuck in a loop and not making progress- wrong_output_format means the output is not in the requested format@@ -378,6 +383,7 @@ Examples:- "Element not found: Improve the DOM extraction layer to correctly include buttons in the navigation bar of the website check24.de"- "Load timeout: Implement better wait strategies for dynamic content to wait until the page is fully loaded"- "File system misuse: The agent used the read and write file tools for short tasks even it could have outputted the information directly. Adapt the system prompt to not use the file system for short tasks."+- "Captcha: The agent was blocked by a press and hold captcha and was unable to complete the task."**IMPORTANT EVALUATION NOTES:**- **DO NOT evaluate for hallucination** - Agent has access to browser_state with the DOM and the screenshot at every step, so trust all factual claims. When ever the agent states clear output information trust it and do not include that in your evaluation. The agent is not hallucinating. It know that information.