ruyi_get_request_initiator
Injects fetch and XHR proxies to record the JavaScript call stack for subsequent requests, allowing you to see the initiator for each network request in ruyi_list_network_requests.
Instructions
注入 fetch/XHR Proxy 以捕获后续 JS 请求的调用栈。注入后通过 ruyi_list_network_requests 可看到带 initiator 的请求。⚠ 只能捕获注入后发起的 JS 请求;调用栈为 Error().stack 字符串格式。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageIdx | No |