Attach trusted CDP input
cdp_attachAttach trusted CDP input to a claimed tab, enabling automated clicks, typing, and keypress actions for browser control.
Instructions
Attach trusted CDP input to a claimed tab. While attached, click, type, keypress, click_at, and matching perform_actions steps use trusted CDP input. Requires the popup enableCdp toggle, a claimed tab, and an allowed origin. The debugger permission is required in the manifest. Chrome shows a debugging banner on the tab. Repeating attach on the same tab refreshes the TTL without tearing down the socket.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttlMs | No | Auto-detach TTL in milliseconds. Defaults to 600000 (10 minutes). | |
| sessionTabId | Yes | Claimed tab session id returned by claim_tab. |