inputsimulator icon indicating copy to clipboard operation
inputsimulator copied to clipboard

VerticalScroll doesn't seem to have any effect

Open ArmyMedalMei opened this issue 8 years ago • 2 comments
trafficstars

new MouseSimulator(new InputSimulator()).VerticalScroll(-1000);

ArmyMedalMei avatar Nov 05 '17 04:11 ArmyMedalMei

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.

Nfactor26 avatar Dec 08 '17 09:12 Nfactor26

https://github.com/microsoft/WinAppDriver/issues/1538#issuecomment-996530073

huster-songtao avatar Dec 17 '21 10:12 huster-songtao