scroll
Scrolls within mobile app containers to navigate content or locate specific elements by text or selector during automated testing.
Instructions
Scroll in a direction on a scrollable container, optionally to find an element (supports text and selectors)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"containerElementId": "<containerElementId>",
"direction": "<direction>",
"platform": "<platform>"
},
"name": "scroll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| containerElementId | Yes | Element ID to scroll until visible | |
| direction | Yes | Scroll direction | |
| lookFor | No | What we're searching for while scrolling | |
| speed | No | Scroll speed | |
| platform | Yes | Platform of the device |