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
linting fixes
Saurav Panda055733e8e9de
diff --git a/eval/service.py b/eval/service.pyindex 000a091d2..d04fbfcd2 100644--- a/eval/service.py+++ b/eval/service.py@@ -1374,8 +1374,8 @@ async def setup_browser_session(task: Task, headless: bool, highlight_elements:storage_state_path = task_folder / 'storage_state.json'# Create empty storage state file if it doesn't exist to avoid FileNotFoundErrorif not storage_state_path.exists():- storage_state_path.write_text(json.dumps({"cookies": [], "origins": []}))-+ storage_state_path.write_text(json.dumps({'cookies': [], 'origins': []}))+profile_kwargs['storage_state'] = str(storage_state_path)# Remove user_data_dir=None for login tasks to avoid conflict with storage_stateprofile_kwargs.pop('user_data_dir', None)