network_monitor
Monitor browser network activity by starting capture, triggering actions, then retrieving requests matching a URL pattern or failed responses to debug API calls.
Instructions
Capture network requests via CDP, including those the page issues itself. Workflow: start → trigger the action → get(pattern: 'api').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | start recording | get results | stop: return and clear | |
| filter | No | 'failed': only HTTP >= 400 or network errors | |
| pattern | No | Regex for request URLs |