midscene_aiScroll
Automate web page scrolling in any direction with AI-powered element targeting. Control scroll distance or navigate to edges for efficient testing workflows.
Instructions
Scrolls the page or a specified element. Can scroll by a fixed amount or until an edge is reached.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| direction | Yes | The direction to scroll. | |
| scrollType | No | Type of scroll: 'once' for a fixed distance, or until reaching an edge. | once |
| distance | No | The distance to scroll in pixels (used with scrollType 'once'). | |
| locate | No | Optional natural language description of the element to scroll. If not provided, scrolls based on current mouse position. | |
| deepThink | No | If true and 'locate' is provided, uses a two-step AI call to precisely locate the element. |