scroll
Simulate mouse wheel movement to shift the page vertically or horizontally, enabling UI interaction tests in Electron apps.
Instructions
Scroll the page using mouse wheel
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "scroll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deltaX | No | Horizontal scroll amount (positive = right, negative = left) | |
| deltaY | No | Vertical scroll amount (positive = down, negative = up) |