ruyi_websocket_inject
Inject a WebSocket proxy to capture send/receive messages from new WebSocket connections, recording them to window.__ruyi_ws_messages. Only captures connections created after injection.
Instructions
注入 WebSocket Proxy 以捕获后续 WebSocket 连接的消息。注入后,新创建的 WebSocket 连接的 send/receive 消息会记录到 window.__ruyi_ws_messages。⚠ 只能捕获注入后创建的 WebSocket 连接。binary 帧以 "[binary]" 标记。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageIdx | No |