ruyi_break_on_xhr
Pause JavaScript execution by inserting a debugger statement when an XHR or Fetch request URL matches a given substring. Use to intercept and inspect specific network requests during browser automation.
Instructions
在 XHR/Fetch 请求 URL 匹配时触发断点(注入 debugger)。等价于 ruyi_set_breakpoint_on_text with XHR wrapper.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL 匹配片段(子串匹配) | |
| pageIdx | No |