Skip to content

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

try keep alive browsers

Nick Sweeting4a8a4155b392
diff --git a/eval/service.py b/eval/service.py
index 712421cef..7e2c9e08f 100644
--- a/eval/service.py
+++ b/eval/service.py
@@ -1286,6 +1286,7 @@ async def setup_browser_session(task: Task, headless: bool, highlight_elements:
headless=headless,
chromium_sandbox=False, # running in docker
highlight_elements=highlight_elements, # Control element highlighting (passed to profile)
+ keep_alive=True,
# higher timeouts = higher success rates on long tail of slow sites or if on a slow CI server
# timeout=60_000,
# default_timeout=60_000,