feat(browser): expose doctor diagnostics to agents

Co-authored-by: Sean Coley <github@seancoley.me>
This commit is contained in:
Peter Steinberger
2026-04-25 01:14:45 +01:00
parent b5a5b59742
commit 30aa1f890a
17 changed files with 578 additions and 63 deletions

View File

@@ -33,6 +33,8 @@ openclaw browser --browser-profile openclaw open https://example.com
openclaw browser --browser-profile openclaw snapshot
```
Agents can run the same readiness check with `browser({ action: "doctor" })`.
## Quick troubleshooting
If `start` fails with `not reachable after start`, troubleshoot CDP readiness first. If `start` and `tabs` succeed but `open` or `navigate` fails, the browser control plane is healthy and the failure is usually navigation SSRF policy.