WinAppDriver icon indicating copy to clipboard operation
WinAppDriver copied to clipboard

touchscreen scroll/flick example in Java?

Open tarunsujit opened this issue 9 years ago • 5 comments

Can I have a method or example for scroll in java

tarunsujit avatar Oct 05 '17 09:10 tarunsujit

I am also having the same question team please provide the workaround or solution for scrolling the windows page or swipe down i found few examples in C# but i wanna solution for java

prabhuak90 avatar Oct 06 '17 12:10 prabhuak90

Hi @tarunsujit,

If you look at the Appium repo, they have multiple Java samples that should work the same way with WinAppDriver as they do for iOS and Android.

This might be a good starting point.

khouzam avatar Oct 10 '17 22:10 khouzam

Hi, Even I have the same issue. Can anyone please give an example for horizontal scrolling on Windows app. I have been trying to use the example given in C#, but could not get it.

Help will be appreciated.

ravimidathala avatar Jan 11 '18 17:01 ravimidathala

Hi @ravimidathala,

Can you try the sample scenarios found in WebDriverAPI test below? https://github.com/Microsoft/WinAppDriver/blob/v1.0/Tests/WebDriverAPI/TouchScroll.cs

If somehow you encounter any issue, would you please open a new issue and paste the JSON wire protocol command log from WinAppDriver.exe console?

timotiusmargo avatar Jan 11 '18 23:01 timotiusmargo

Marking issue as closed due to no furthercomments.

hassanuz avatar Mar 20 '18 20:03 hassanuz