Loading...
Loading...
Interact with local Chrome browser session (only on explicit user approval after being asked to inspect, debug, or interact with a page open in Chrome)
npx skill4agent add pasky/chrome-cdp-skill chrome-cdpchrome://inspect/#remote-debuggingscripts/cdp.mjs<target>listlist6BE827FAscripts/cdp.mjs listscripts/cdp.mjs shot <target> [file] # default: /tmp/screenshot.pngevalscripts/cdp.mjs snap <target>scripts/cdp.mjs eval <target> <expr>Watch out: avoid index-based selection () across multiplequerySelectorAll(...)[i]calls when the DOM can change between them (e.g. after clicking Ignore, card indices shift). Collect all data in oneevalor use stable selectors.eval
scripts/cdp.mjs html <target> [selector] # full page or element HTML
scripts/cdp.mjs nav <target> <url> # navigate and wait for load
scripts/cdp.mjs net <target> # resource timing entries
scripts/cdp.mjs click <target> <selector> # click element by CSS selector
scripts/cdp.mjs clickxy <target> <x> <y> # click at CSS pixel coords
scripts/cdp.mjs type <target> <text> # Input.insertText at current focus; works in cross-origin iframes unlike eval
scripts/cdp.mjs loadall <target> <selector> [ms] # click "load more" until gone (default 1500ms between clicks)
scripts/cdp.mjs evalraw <target> <method> [json] # raw CDP command passthrough
scripts/cdp.mjs stop [target] # stop daemon(s)shotclickxyCSS px = screenshot image px / DPRshotsnap --compacthtmltypeclickclickxytype