输入文本
element_inputFill text into an input field using its element ID, with options to clear existing content or assign via JavaScript.
Instructions
向输入框元素输入文本。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | 要输入的文本 | |
| by_js | No | 是否改用 JS 赋值 | |
| clear | No | 输入前是否清空已有内容 | |
| element_id | Yes | find_element 返回的元素 id |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| message | Yes |