capture_network_on_action
Capture network requests triggered by clicking, navigating, or typing, returning full request details like URL, headers, body, and method.
Instructions
Capture network requests triggered by an action (click, navigate, type). Returns full request details including URL, headers, body, and method.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL (required for navigate action) | |
| text | No | Text to type (required for type action) | |
| tabId | No | Tab ID (optional) | |
| action | Yes | Action to perform: click element, navigate to URL, or type text | |
| selector | No | CSS selector (required for click/type actions) | |
| urlPattern | No | Filter captured requests by URL pattern (e.g., "*api*", "*.json") | * |
| waitAfterAction | No | Milliseconds to wait after action before capturing (default: 2000) |