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
Add keep_alive option to BrowserProfile in evaluate_tasks.py for improved session persistence
Magnus Müller412904dc6525
diff --git a/tests/ci/evaluate_tasks.py b/tests/ci/evaluate_tasks.pyindex defe55dcf..92fa856bd 100644--- a/tests/ci/evaluate_tasks.py+++ b/tests/ci/evaluate_tasks.py@@ -43,6 +43,7 @@ async def run_task(task_file, semaphore):shared_profile = BrowserProfile(headless=True,user_data_dir=None, # use dedicated tmp user_data_dir per session+ keep_alive=True,)session = BrowserSession(browser_profile=shared_profile)agent = Agent(task=task, llm=agent_llm, browser_session=session)