microsoft / WinAppDriver

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

TouchActions using mouse as pointer, unable to longpress #1710

Open paul-foreflight opened 2 years ago

paul-foreflight commented 2 years ago

Not sure if I am just missing something or what but I am unable to long press using actual touch actions. I see the mouse cursor move which leads me to believe, there is no touch pointer being created/used. Is it worth trying to upgrade appium to 1.23? For what its worth these actions all work under test when using iOS, so I believe the issue lies somewhere in winappdriver

Appium 1,21,0 winappdriver 1.1.1809.18001 python 3.9.1 python-appium-client 0.34

Desired caps self.default_capabilities = { "platformName": "windows", "deviceName": os.getenv('device_name'), 'newCommandTimeout': '5000', "forceMjsonwp": True, "app": win_builds[os.getenv('build_name')] }

Please let me know if there's any other info you need from me.

Tree55Topz commented 2 years ago

@paul-foreflight what is the code you are using to perform the action?