appium-windows-driver icon indicating copy to clipboard operation
appium-windows-driver copied to clipboard

Have you test in Windows Arm machine?

Open pppppino opened this issue 1 year ago • 1 comments

I found that windows: click method can not work correctly in windows arm machine.

when I choose elementId as param, It always can not click on the right location, seems have some deviation from the correct location.

I have run the same script in the same app on differ machine(Win X64, Win Arm64), it works correctly in WinX64, and not correctly in WinArm64(have deviation ), and I have tried many element, and all have this problem.

By the way, I have tried, rightClick(button: right), doubleClick(times: 2), all have above problem.

I hope you could have a try in winArm64, I believe you will reproduce this problem.

pppppino avatar May 30 '24 09:05 pppppino

I think no one in Appium team has Win machine in our regular usage. Most of our contribution is voluntary basis, so the test also depends on each person's personal working env.

It is appreciated to check if the "not working" is JS code in https://github.com/appium/appium-windows-driver (this repository) or comes from https://github.com/microsoft/WinAppDriver . If it is on the JS code side, perhaps we'll be able to help with implementation. If it is WinAppDrive side, please report it to the MS's repository

KazuCocoa avatar May 31 '24 05:05 KazuCocoa

@KazuCocoa , Finally, I got the root cause of this issue. windows arm machine have one setting called "Scale" in "Display", which default value(recommended value) is "150%". if you want use "doubleClick"/"rightClick"/"Hover", you have to update it to "100%". By the way, I hope you let more people know this tricky and annoying issue 473968B3-7602-40E1-9161-1DFB19C5F75E

pppppino avatar Sep 11 '24 02:09 pppppino

thanks for the report!

jlipps avatar Sep 11 '24 17:09 jlipps