cdp
CDP - Chrome DevTools Protocol
Overview
charly check cdp commands connect to Chrome DevTools Protocol (CDP) on port 9222 inside running containers. Provides HTTP API operations (open, list, close tabs) and WebSocket CDP operations (click, type, eval, wait, text, html, screenshot) for headless browser automation.
Also as a declarative verb
Every charly check cdp <method> is authorable as a cdp: verb on a check:/run: step in a candy/box plan: (a query is a check: step; a navigation/click action is a run: step). The method name becomes the verb's YAML value; method-specific args are sibling fields (tab:, expression:, url:, selector:, etc.). Shared matchers (stdout:, stderr:, exit_status:, artifact_min_bytes:) work like other verbs. See /charly-check:check for the full method allowlist and YAML shape. Example: - cdp: eval\n tab: "1"\n expression: "document.title"\n stdout: "Dashboard".