WinAppDriver icon indicating copy to clipboard operation
WinAppDriver copied to clipboard

Unable to click element with offsets in Windows UWP App

Open YenikeRaghuRam opened this issue 2 years ago • 2 comments

Automation testing a Windows UWP App Using below command unable to click on element 5,5 coordinates , it always clicks on middle of element

new TouchAction(Base.uwpDriver).press(ElementOption.element(driver.findElement(object), 5, 5)).perform();

raised as its specific to WinAppDriver Refer https://github.com/appium/appium/issues/17016

YenikeRaghuRam avatar May 31 '22 07:05 YenikeRaghuRam

I dont know much about UWP, are you able to use Actions?

Try something like this

Actions.MoveToElement(element, 5, 5).Click().Perform();

Tree55Topz avatar Jun 01 '22 17:06 Tree55Topz

see my reply to your other issue

pdisser8 avatar Sep 21 '22 22:09 pdisser8