desktop_cdp_elements
Lists actionable controls on the current page from the CDP accessibility tree, returning role, name, depth, and deduplicated elements for UI inspection and automation.
Instructions
列出当前页面内的控件(CDP 无障碍树)。 返回角色(button/link/textbox/...)、名称、层级深度。中文名称完整保留。 已自动去重:AX 树给一个按钮同时产出 button/StaticText/InlineTextBox,这里只留能操作的那个。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | 按角色过滤,如 button / link / textbox | |
| limit | No | 最多返回多少个,默认 120 | |
| session | No | 会话 id,省略则用当前会话 |