WinAppDriver icon indicating copy to clipboard operation
WinAppDriver copied to clipboard

Need to scroll until a element is displayed

Open LisaAga opened this issue 2 years ago • 3 comments

Hi Team,

I need to scroll until a element is displayed . Can you help me here .

LisaAga avatar Jul 27 '22 10:07 LisaAga

WAD supports auto scrolling till 40th element. How long is your list?

anunay1 avatar Jul 27 '22 14:07 anunay1

@LisaAga you could also try some more creative approaches, like using the page down key press

Tree55Topz avatar Aug 03 '22 22:08 Tree55Topz

Which UI framework are you targeting? WinAppDriver will automatically scroll items into view when clicked and reporting IsOffscreen is true. However, many desktop UI frameworks report that property wrongly or at least unintuitively. Check that property for items that you want to scroll into view and you should have your answer. Further, again depending on your UI framework, you can "fix" that behavior which should make the click-scroll work.

ChristoWolf avatar Sep 10 '22 18:09 ChristoWolf