读取页面文本
get_textExtract visible text from a web page element using a CSS selector, or from the entire page when no selector is specified.
Instructions
读取匹配 CSS 选择器元素的 innerText;selector 省略时读取整个 body。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | 操作说明:展示给页面用户的自然语言描述(用户会在页面气泡的操作记录里看到),用用户的语言填写,建议始终提供 | |
| pageId | No | 目标页面 id(单页时可省略) | |
| selector | No | CSS 选择器,默认 body |