wpf_scroll
Sends a real mouse wheel event to a WPF element to scroll or trigger app-defined input, targeting by element handle or AutomationId. Use it to test how a running app responds to wheel input.
Instructions
Send a real mouse wheel event over a visible element. delta is signed wheel units: 120 = one notch, positive scrolls up (or right with horizontal=true), negative down/left; nonzero range -12000..12000. Optional paired x/y are local WPF DIPs, default center. Moves the mouse and activates the app. Supports native hosted canvases. The app decides whether to scroll, zoom or ignore input; verify the result. STATE-CHANGING. Target by exactly one of element_handle or automation_id (exact, case-sensitive AutomationProperties.AutomationId). Use root_handle with automation_id to scope lookup; missing or duplicate IDs fail before input.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| delta | Yes | ||
| horizontal | No | ||
| root_handle | No | ||
| automation_id | No | ||
| element_handle | No |