無頭 Chromium 瀏覽器沙盒,可透過 Chrome DevTools Protocol (CDP) 控制。可搭配 OpenClaw 或其他需要瀏覽器自動化功能的服務使用。
Zeabur
Zeabur
Zeabur可透過 Chrome DevTools Protocol (CDP) 控制的無頭 Chromium 瀏覽器。
同一個 Zeabur 專案中的其他服務可透過以下方式連線:
http://openclaw-sandbox-browser:9222
GET /json/version - 瀏覽器版本資訊GET /json/list - 列出已開啟的分頁GET /json/new?url=<url> - 開啟新分頁方式一:將設定貼給 OpenClaw 複製以下設定並貼到 OpenClaw 對話中,請它幫您更新設定檔:
"browser": {
"enabled": true,
"attachOnly": true,
"defaultProfile": "remote",
"profiles": {
"remote": {
"cdpUrl": "http://openclaw-sandbox-browser:9222",
"color": "#FF4500"
}
}
}
範例提示詞:"請將這個瀏覽器設定加到我的 openclaw.json 檔案中"
方式二:OpenClaw Web UI
remoteremotehttp://openclaw-sandbox-browser:9222#FF4500(選填)詳細設定選項請參考官方文件。
部署完成後,從 OpenClaw 終端機使用 curl 測試連線:
curl http://openclaw-sandbox-browser:9222/json/version
成功的話,您會看到類似以下的 JSON 回應:
{"Browser":"Chrome/...","Protocol-Version":"1.3",...}
以下日誌中的錯誤訊息是正常的,可以安全忽略:
Failed to connect to the bus - 容器內沒有 D-Bus(正常現象)Failed to adjust OOM score - 權限限制(不影響功能)DEPRECATED_ENDPOINT - 無頭模式不需要 Google Cloud Messaging