Skip to content

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

fix ensure_daemon falling through on ping failure with explicit config

ShawnPanaedfd554f0fb3
diff --git a/browser_use/skill_cli/main.py b/browser_use/skill_cli/main.py
index fccec5c38..223d34521 100755
--- a/browser_use/skill_cli/main.py
+++ b/browser_use/skill_cli/main.py
@@ -255,7 +255,7 @@ def ensure_daemon(
)
sys.exit(1)
except Exception:
- pass # Daemon not responsive, continue to start
+ return # Daemon alive but can't verify config — reuse it, can't safely restart
# Build daemon command
cmd = [