chrome-cdp
Installation
SKILL.md
Chrome over CDP
Scripts that attach to one Chrome started with --remote-debugging-port.
The browser keeps running between calls, so logins, cookies and extensions
survive and each script call is fast. All scripts need Node 22+ and nothing
else.
Paths below are relative to this skill's directory.
When to use something else
- Rendering local HTML to an image, or any job that needs no login: a disposable headless browser (Puppeteer, Playwright) is simpler.
- Snapshots of the accessibility tree and ad-hoc clicks while exploring: the
chrome-devtoolsMCP can attach to the same Chrome (--browser-url=http://127.0.0.1:<port>). Attach it rather than letting it launch its own browser, whose automation flags trip bot checks more often.