scroll_to_element
Scrolls a page to bring a specific UI element into view by searching for its text, then swiping up or down until the element appears or the timeout is reached.
Instructions
Scroll the page to bring a specific UI element into view. Tries to find the element by text, then swipes up/down until it becomes visible or timeout is reached.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text content to search for | |
| serial | No | Device serial number | |
| direction | No | Scroll direction to find the element | down |
| maxScrolls | No | Maximum scroll attempts |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| found | Yes | ||
| message | Yes |