Raw DevTools Protocol events
cdp_eventsSubscribes to and reads buffered raw Chrome DevTools Protocol events from a tab, such as Network.* or Page.loadEventFired, for debugging and network inspection. Enable the domain first.
Instructions
Subscribes to raw DevTools Protocol events of the tab ("Network.*", "Page.loadEventFired"…) and reads the buffered events. Enable the domain first with cdp_send if it is not already enabled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Clear the buffer after reading (default true). | |
| limit | No | Return at most this many of the newest events (default 50). | |
| tabId | No | Tab to act on. Defaults to the session target tab (see tab_select). | |
| action | Yes | What to do. | |
| events | No | Events to subscribe to. |