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
feat: sessions command shows CDP URL for each session
ShawnPanac09ea5a0b27a
diff --git a/browser_use/skill_cli/main.py b/browser_use/skill_cli/main.pyindex 5afe10c1f..72ae4389e 100755--- a/browser_use/skill_cli/main.py+++ b/browser_use/skill_cli/main.py@@ -1007,6 +1007,7 @@ def _handle_sessions(args: argparse.Namespace) -> int:config_parts.append(f'profile={data["profile"]}')if data.get('cdp_url'):config_parts.append('cdp')+ entry['cdp_url'] = data['cdp_url']if data.get('use_cloud'):config_parts.append('cloud')entry['config'] = ', '.join(config_parts) if config_parts else 'headless'@@ -1027,9 +1028,9 @@ def _handle_sessions(args: argparse.Namespace) -> int:print(json.dumps({'sessions': sessions}))else:if sessions:- print(f'{"SESSION":<16} {"PHASE":<14} {"PID":<8} CONFIG')+ print(f'{"SESSION":<16} {"PHASE":<14} {"PID":<8} {"CONFIG":<12} CDP URL')for s in sessions:- print(f'{s["name"]:<16} {s.get("phase", "?"):<14} {s["pid"]:<8} {s.get("config", "")}')+ print(f'{s["name"]:<16} {s.get("phase", "?"):<14} {s["pid"]:<8} {s.get("config", ""):<12} {s.get("cdp_url", "")}')else:print('No active sessions')