Skip to content

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

Disable Chromium sandbox in BrowserProfile for CI environment in evaluate_tasks.py to improve compatibility with GitHub Actions.

Magnus Müllere6171e0fc1f1
diff --git a/tests/ci/evaluate_tasks.py b/tests/ci/evaluate_tasks.py
index 329b6bdb2..abcebb183 100644
--- a/tests/ci/evaluate_tasks.py
+++ b/tests/ci/evaluate_tasks.py
@@ -69,6 +69,7 @@ async def run_single_task(task_file):
profile = BrowserProfile(
headless=True,
user_data_dir=None,
+ chromium_sandbox=False, # Disable sandbox for CI environment (GitHub Actions)
)
session = BrowserSession(browser_profile=profile)
print('[DEBUG] Browser session created', file=sys.stderr)