ruyi_dom_select
Locate DOM elements in a page using CSS selectors, XPath, tag names, or text content. Specify a selector and optional timeout to find elements for automation.
Instructions
在页面中定位 DOM 元素。支持 CSS 选择器、XPath、标签名、文本内容等多种定位方式。格式: "#id" / "css:.class" / "xpath://div" / "tag:input" / "text:登录"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageIdx | No | ||
| timeout | No | 等待超时(秒),默认 10 | |
| selector | Yes | 元素选择器。支持:#id, css:.class, xpath://div, tag:input, text:登录 |