desktop_cdp_click
Clicks page controls by name with CDP-injected mouse events and auto-locates each control’s center, so no coordinate guessing is needed; duplicate names return candidates for disambiguation.
Instructions
按名称点击页面里的控件(走 CDP 注入真实鼠标事件)。 先定位控件矩形中心再点,所以不需要你猜坐标。同名多个时会报错并列出候选。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 控件文本,支持模糊匹配 | |
| role | No | 限定角色,如 button,用于消歧 | |
| session | No | 会话 id,省略则用当前会话 |