Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

file name standardization

Alezander93c525b60074e
diff --git a/eval/browsers.py b/eval/browsers.py
index 0932834a1..d6a889b1d 100644
--- a/eval/browsers.py
+++ b/eval/browsers.py
@@ -1,4 +1,5 @@
# pyright: reportMissingImports=false
+# We do this because we need to install the other browser packages but dont want them in our main package dependencies
import asyncio
import json
diff --git a/eval/cookies.py b/eval/cookie_judge.py
similarity index 98%
rename from eval/cookies.py
rename to eval/cookie_judge.py
index 5bbec531c..42d45b9fc 100644
--- a/eval/cookies.py
+++ b/eval/cookie_judge.py
@@ -1,7 +1,3 @@
-# ================================================
-# Login Cookie Tracking and Judgement
-# ================================================
-
import json
import logging
import time
diff --git a/eval/resource_monitoring.py b/eval/resource_monitoring.py
index adfc22944..b73d66db7 100644
--- a/eval/resource_monitoring.py
+++ b/eval/resource_monitoring.py
@@ -1,18 +1,3 @@
-# @file purpose: Resource monitoring and system health tracking for eval pipeline
-"""
-Resource monitoring module for browser-use evaluation pipeline.
-
-This module provides system resource monitoring capabilities including:
-- Memory and CPU usage tracking
-- Process monitoring (Chrome/Python processes)
-- Background monitoring with configurable intervals
-- Graceful shutdown handling with signal handlers
-- Resource logging and alerting
-
-The module is designed to help track system health during long-running
-evaluation tasks and provide early warning for resource exhaustion.
-"""
-
import asyncio
import gc
import logging
diff --git a/eval/server.py b/eval/server.py
index 56ca7424f..42a0b43f6 100644
--- a/eval/server.py
+++ b/eval/server.py
@@ -1,7 +1,3 @@
-# ================================================
-# Server Interaction
-# ================================================
-
import json
import logging
import os
diff --git a/eval/service.py b/eval/service.py
index 6ffdcaa0d..2a405c55f 100644
--- a/eval/service.py
+++ b/eval/service.py
@@ -31,7 +31,7 @@ from .browsers import (
setup_browser_session,
)
from .comprehensive_judge import evaluate_task_with_comprehensive_judge
-from .cookies import check_login_cookie_at_step, evaluate_task_with_login_cookie, save_login_cookie_tracking
+from .cookie_judge import check_login_cookie_at_step, evaluate_task_with_login_cookie, save_login_cookie_tracking
from .models import SUPPORTED_MODELS, get_llm
from .resource_monitoring import (
get_system_resources,