capture
Record network traffic in a browser tab with start, get, and stop actions. Start monitoring before requests, retrieve results as overview or JSON, and stop to clear.
Instructions
网络抓包三合一。action='start':在当前 tab 启动监听(⚠️ 必须在触发请求之前调用;监听挂载在该 tab,不随指针迁移);action='get':拉取结果(概览直接返回,完整数据落盘 JSON 供 read);action='stop':停止并清空。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | get:最多返回条数(0=全部) | |
| action | Yes | start=启动监听 / get=拉取结果 / stop=停止 | |
| method | No | start:HTTP 方法过滤,多个用逗号分隔(如 'GET,PUT')。不传时 DrissionPage 缺省只抓 GET/POST | |
| url_filter | No | start:URL 关键词过滤(空=全部) |