#Browser
1 messages · Page 1 of 1 (latest)
Let me verify the docs path and the browser attach bits so I don’t guess.
First, what does openclaw --version say?
Also, if your goal is to use your already signed-in Chrome profile, don’t keep fighting random CDP ports unless Chrome and the gateway are on different machines.
The supported path is usually the built-in user profile / existing-session attach:
openclaw browser --browser-profile user start
openclaw browser --browser-profile user status
openclaw browser --browser-profile user tabs
What should be true for that to work:
- Chrome is
144+ chrome://inspect/#remote-debugginghas remote debugging enabled- Chrome stays open
- you approve the attach prompt when OpenClaw connects
Good result:
driver: existing-sessiontransport: chrome-mcp- your current tabs show up
Two common gotchas:
- Gateway and Chrome are not on the same machine
If OpenClaw is in Docker, WSL, a VPS, etc., theuserprofile usually won’t attach to your local desktop Chrome. Then you need either:- a node host on the browser machine, or
- raw remote CDP with a profile like:
{ browser: { profiles: { remote: {
cdpUrl: "http://HOST:9222",
attachOnly: true,
},
},
},
}
And from the gateway machine, this must work first:
curl http://HOST:9222/json/version
- You want a non-default Chrome/Brave/Edge profile
Then make a customexisting-sessionprofile withuserDataDir, instead of justuser.
If strict SSRF mode is on and you’re using localhost CDP, you may also need both:
browser.ssrfPolicy.allowedHostnamesbrowser.ssrfPolicy.hostnameAllowlist
with 127.0.0.1 and localhost.
Docs:
- https://docs.openclaw.ai/help/faq#how-do-i-use-my-existing-signed-in-chrome-with-openclaw
- https://docs.openclaw.ai/tools/browser#existing-session-via-chrome-devtools-mcp
- https://docs.openclaw.ai/gateway/troubleshooting
If you paste these 3 things, I can narrow it down fast:
openclaw --version- whether Chrome and the gateway are on the same machine
openclaw browser --browser-profile user status
@grizzled niche im on default chrome and the latest version of claw. And chrome remote debugging just says status is starting... I want him to be able to access it without needing approval everytime aswell. Its set to user profile but he says he cant use it
I’m checking whether the Chrome consent prompt can be made persistent, because that part matters here.
Yeah, I think the key thing is this:
user is not raw CDP. It uses Chrome MCP existing-session attach.
So changing CDP ports usually won’t help for the built-in user profile.
If chrome://inspect/#remote-debugging itself is stuck on “starting”, that’s usually the Chrome-side remote debugging service not coming up yet, so OpenClaw has nothing to attach to.
A couple important bits from the docs:
user/existing-sessionis the right mode for your signed-in default Chrome- you should approve the first attach consent prompt
- docs still frame this mode as something to use when you’re at the computer
- if you want a truly unattended/reliable always-on browser, the managed
openclawprofile is the safer path
So I’d try this exact smoke test:
openclaw doctor
openclaw browser --browser-profile user start
openclaw browser --browser-profile user status
openclaw browser --browser-profile user tabs
Also make sure:
- Chrome is
144+ - Chrome is fully open
- you have at least one normal tab open
- remote debugging is enabled in
chrome://inspect/#remote-debugging
One subtle point: the docs say approve the first attach consent prompt, not “no prompt forever”. So if your main requirement is no approval every time, user may not be the best fit for what you want.
If you paste the exact output of:
openclaw doctor