microsoft / WinAppDriver

Windows Application Driver
MIT License
3.69k stars 1.4k forks source link

RemoteTouchScreen "down" action act as longpress not as press action. #544

Open gouravtayal opened 5 years ago

gouravtayal commented 5 years ago

Hi @hassanuz

RemoteTouchScreen "down" action act as longpress not as press action. Is there any default time parameter of time in "down".

My scenario is i want to draw one line but as soon i do remoteTouchScreen.down() my longpress behavior comes in picture.

hassanuz commented 5 years ago

Hi @gouravtayal,

I recommend using the new Actions API to implement touch gestures, as you have more control on how long you would want the PointerDown to be.

Take a look at some of our Touch samples here as a reference in implementing the new Actions framework.