Skip to content

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

Fix lint and skill sync checks

Saurav Pandad7b36c7dc581
diff --git a/browser_use/skills/browser-use/SKILL.md b/browser_use/skills/browser-use/SKILL.md
index 356e12fe9..4b359b2bf 100644
--- a/browser_use/skills/browser-use/SKILL.md
+++ b/browser_use/skills/browser-use/SKILL.md
@@ -184,6 +184,13 @@ If you get stuck on a browser mechanic, check https://github.com/browser-use/bro
- Coordinate clicks default. CDP mouse events pass through iframes/shadow/cross-origin at the compositor level.
- Keep the connection model simple: use the default daemon, `BU_NAME`, `BU_CDP_URL`, `BU_CDP_WS`, or `start_remote_daemon(...)`.
+- Trusted orchestrators can set `BH_OPEN_LIVE_URL=0` while provisioning a Cloud
+ daemon to keep its interactive live-view URL from being printed or opened.
+ The URL is still created and returned by `start_remote_daemon()`; callers must
+ avoid logging or serializing that returned field.
+- Trusted orchestrators that already provisioned an exact named daemon can set
+ `BH_REQUIRE_EXISTING_DAEMON=1`. Each CLI call then health-checks and reuses
+ that daemon or fails closed; it never auto-starts or discovers another Chrome.
- Core helpers stay short. Put task-specific helper additions in `$BH_AGENT_WORKSPACE/agent_helpers.py`.
## Gotchas
diff --git a/examples/custom-functions/cua.py b/examples/custom-functions/cua.py
index 67038feca..e645ff658 100644
--- a/examples/custom-functions/cua.py
+++ b/examples/custom-functions/cua.py
@@ -261,6 +261,8 @@ async def openai_cua_fallback(params: OpenAICUAAction, browser_session: BrowserS
raise Exception('No computer calls found in CUA response')
action = computer_call.action
+ if action is None:
+ raise Exception('No action found in CUA computer call')
print(f'🎬 Executing CUA action: {action.type} - {action}')
action_result = await handle_model_action(browser_session, action)
diff --git a/skills/browser-use/SKILL.md b/skills/browser-use/SKILL.md
index 356e12fe9..4b359b2bf 100644
--- a/skills/browser-use/SKILL.md
+++ b/skills/browser-use/SKILL.md
@@ -184,6 +184,13 @@ If you get stuck on a browser mechanic, check https://github.com/browser-use/bro
- Coordinate clicks default. CDP mouse events pass through iframes/shadow/cross-origin at the compositor level.
- Keep the connection model simple: use the default daemon, `BU_NAME`, `BU_CDP_URL`, `BU_CDP_WS`, or `start_remote_daemon(...)`.
+- Trusted orchestrators can set `BH_OPEN_LIVE_URL=0` while provisioning a Cloud
+ daemon to keep its interactive live-view URL from being printed or opened.
+ The URL is still created and returned by `start_remote_daemon()`; callers must
+ avoid logging or serializing that returned field.
+- Trusted orchestrators that already provisioned an exact named daemon can set
+ `BH_REQUIRE_EXISTING_DAEMON=1`. Each CLI call then health-checks and reuses
+ that daemon or fails closed; it never auto-starts or discovers another Chrome.
- Core helpers stay short. Put task-specific helper additions in `$BH_AGENT_WORKSPACE/agent_helpers.py`.
## Gotchas