Watch network requests
cdp_network_watchIndex network request metadata (URL, method, status, mime type, size, timestamp) in a claimed tab; optional URL patterns narrow tracking. Response bodies and restricted origins are never stored.
Instructions
Enable the Network domain on an attached tab and keep an in-memory index of metadata rows only (requestId, url, method, status, mimeType, size, timestamp). No response body is read or stored. Restricted-category origins never enter the index. Requires cdp_attach. Optional patterns narrow which URLs are indexed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patterns | No | Optional URL prefixes or globs. Omitted means every non-denylisted request is indexed. | |
| sessionTabId | Yes | Claimed tab session id returned by claim_tab. |