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
fix formatting: line length in profile_use.py, missing blank line in tunnel.py
ShawnPana9f33a88a9193
diff --git a/browser_use/skill_cli/profile_use.py b/browser_use/skill_cli/profile_use.pyindex 4eb669b1b..a698541ab 100644--- a/browser_use/skill_cli/profile_use.py+++ b/browser_use/skill_cli/profile_use.py@@ -48,7 +48,9 @@ def download_profile_use() -> Path:)if result.returncode != 0:- raise RuntimeError('Failed to download profile-use. Try installing manually:\n curl -fsSL https://browser-use.com/profile/cli/install.sh | sh')+ raise RuntimeError(+ 'Failed to download profile-use. Try installing manually:\n curl -fsSL https://browser-use.com/profile/cli/install.sh | sh'+ )binary = get_profile_use_binary()if binary is None:diff --git a/browser_use/skill_cli/tunnel.py b/browser_use/skill_cli/tunnel.pyindex b42d15539..a4cba3a2f 100644--- a/browser_use/skill_cli/tunnel.py+++ b/browser_use/skill_cli/tunnel.py@@ -26,6 +26,7 @@ logger = logging.getLogger(__name__)# Pattern to extract tunnel URL from cloudflared output_URL_PATTERN = re.compile(r'(https://\S+\.trycloudflare\.com)')+def _tunnels_dir() -> Path:"""Get tunnel metadata directory (lazy to respect BROWSER_USE_HOME)."""from browser_use.skill_cli.utils import get_tunnel_dir