Cdp

Drive Chrome via the DevTools Protocol from JavaScript. Run JS snippets through the `browser-harness-js` CLI — it auto-spawns a long-lived bun HTTP server holding a fully-typed CDP `Session`, and every call (`browser-harness-js 'await session.Page.navigate(...)'`) executes against the same persistent connection. Session, active target, and globals survive across calls. Use when the user wants to automate, script, or inspect a Chrome browser via CDP — single tab or multi-tab, attach to existing Chrome or to a new one launched with --remote-debugging-port.

browser-use d6b0081 4 files · 18.4 KB Updated

File contents

browser-use/browser-harness-js/tree/main/ commit d6b00816f3

Frequently asked questions

npx skillmds@latest add browser-use/cdp