滚动元素
element_scrollScroll an element within a webpage to a specified position or bring it into view, using options for pixel distance and direction.
Instructions
滚动元素(或让元素滚动到可视区域)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pixel | No | down/up 时滚动的像素 | |
| action | No | to_see=滚动到元素可见, to_top=滚到顶, to_bottom=滚到底, down=向下滚, up=向上滚 | to_see |
| element_id | Yes | find_element 返回的元素 id |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| message | Yes |