读取操作提示气泡
get_toastsRead current AntD global messages and notification content for operation result assertions, including iframe-penetrated queries. Specify active frame or tab to target the correct DOM.
Instructions
读取当前显示的 AntD message 全局提示与 notification 通知内容(用于操作结果断言)。
查询范围默认为主文档+自动穿透 iframe;portal 弹层归属触发它的功能模块文档, 建议传 frame='active' 或使用触发元素的所在文档。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | No | 搜索范围('active'=激活态 iframe,见 frame_list) | |
| tab_id | No | 标签页 id,省略时用最新标签页 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_texts | Yes | ant message 全局提示气泡文本 | |
| notification_texts | Yes | ant notification 通知提醒框文本 |