inputsimulator
inputsimulator copied to clipboard
VerticalScroll doesn't seem to have any effect
trafficstars
new MouseSimulator(new InputSimulator()).VerticalScroll(-1000);
you need to move your mouse pointer to a scrollable area first. For ex: if there is a div with scrollbars, you need to move your mouse pointer over div before trying to perform a scroll. If the scrollable content has no focus, it will not work.
https://github.com/microsoft/WinAppDriver/issues/1538#issuecomment-996530073