get_value
Retrieve the value or text content of a specified element in a WeChat mini-program, using a locator path or snapshot reference to identify the target.
Instructions
获取元素的值或文本内容
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| attribute | No | 要获取的属性名,不指定则获取value或text |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| code | Yes | ||
| data | Yes | ||
| meta | Yes | ||
| error | Yes | ||
| warnings | Yes | ||
| nextActions | Yes | ||
| observation | Yes | ||
| partialData | Yes | ||
| schemaVersion | Yes |