tabs | List windows + tabs with their tabIds |
navigate <url> | Open in current tab. --new opens in a background tab (default). --active brings it to foreground. --tab <id> retargets an existing tab. |
snapshot --tab <id> -i | Page snapshot with actionable @refs โ accessibility tree + cursor-interactive sweep, one ref space, compact text. -d N depth cap, -s <css> scope to subtree, -u include hrefs, --diff print only changes since the last snapshot, --json structured envelope with the refs map. |
wait <css|@ref> / wait --text / --url <glob> / --load networkidle / --fn <js> | Block until a condition holds (one per call, default 10s, max 25s). wait 1500 just sleeps. On timeout the error includes current page state. |
get text|value|attr|count|title|url <target> | One value, plain to stdout โ no full snapshot. get text @e12, get attr @e7 href, get count ".row". |
batch '[{"name":"chrome_...","args":{...}}, ...]' | N tool calls in ONE round-trip, sequential, bail-on-error by default. Use wire tool names. |
skills get core | Print this playbook, version-matched to the installed binary. |
click <@ref | selector> --tab <id> | Trusted hover + press + release at element center (pointerType: "mouse"). Refs need no --tab. |
click --x N --y N --tab <id> | Coordinate-mode click โ for canvas/SVG chart internals with no DOM handle. |
hover <@ref | selector | --x --y> | Pointer move only โ fires :hover styles. |
fill <@ref | selector> <value> | Atomic value write into <input>/<textarea>/<select>. Bypasses React's value tracker. Refs reach inside shadow DOM (selectors can't). |
type <text> [-s <@ref | selector>] | CDP Input.insertText. Use for contenteditable / Draft.js / Lexical / ProseMirror. Appends at caret; clear the input first if it had a value. |
keys <chord> --tab <id> | Single key or chord: Enter, Tab, Escape, Cmd+K, Shift+ArrowDown. |
js <code> --tab <id> | Runtime.evaluate in MAIN world. Use return for the value. Top-level await works. |
screenshot --tab <id> -o <path> | PNG. --full captures beyond viewport. --max-edge N resizes. |
screencast --tab <id> -o <path> | Record a tab via CDP (paint-driven). Requires an active tab. |
network --tab <id> | HTTP request/response ring buffer, last 200 per tab. network read --request-id <id> for bodies. |
console --tab <id> | console.log/warn/error + page exceptions, last 200. |
viewport | Emulate device viewport, DPR, mobile flag, touch, UA. |
workspace / group | Manage named windows / tab-groups so multiple agents can drive separate windows. |
switch <tabId> / close <tabIds...> | Activate or close tabs |
self-reload | Restart the extension's service worker after a rebuild |
release-notes --since <ver> / update | Queryable changelog; agent-readable JSON. |
call <tool> [json] | Raw pass-through for any internal tool. |
read / ax / click-ax | Deprecated โ aliases for snapshot / click @ref. Will be removed; don't use in new work. |