cdp_command
Send raw Chrome DevTools Protocol commands to a page tab and get the raw result. Use when higher-level tools lack the method you need.
Instructions
Send a raw CDP command and return its raw result — escape hatch.
Use when the higher-level tools don't cover what you need. method is any
CDP method (e.g. "Page.captureScreenshot", "DOM.getDocument",
"Network.enable"); params are its parameters. Runs against the given
tab (or the first page tab). Note: this targets a page websocket, so
page-domain methods work; browser-level domains (Browser.*, Target.*)
do not. Returns {"tab_id", "method", "result"} or {"error": ...}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | ||
| params | No | ||
| tab_id | No |