docs(browser): 增补 11A 断言与诊断能力说明

同步 Browser MCP 文档中的结构化 assertions、比较操作与失败诊断输出说明。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
walker1211
2026-04-20 17:51:26 +08:00
co-authored by Claude Opus 4.7
parent 4af967559c
commit 26baa019e3
+7
View File
@@ -117,6 +117,13 @@ Phase 10C capability details:
- orchestration runs blocks sequentially and stops on the first failure
- block nesting, branching, loops, and workflow-engine behaviors remain out of scope
Phase 11A capability details:
- `assert_query` now supports structured `assertions[]` with multiple field checks in one block
- supported operators are `equals`, `contains`, `gt`, `gte`, `lt`, and `lte`
- assertion failures now include clearer diagnostics such as failed assertion index, field, expected value, and actual value
- Phase 11A continues to reuse `browser_query` as the data source rather than introducing a new diagnostics runtime
Minimal multi-tab workflow examples:
```json