microsoft / WinAppDriver

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

WinAppDriver Dont support Appium-Python-Client higher version than v2.2.0 #1979

Open WangCuiCui57 opened 8 months ago

WangCuiCui57 commented 8 months ago

Dear experts: I encounter issues like below picture when use:

to do simple windows app automation like Caculator. But with Appium-Python-Client 2.2.0/selenium 3.141.0/WinAppDriver 1.2.1 works well. I found from Appium-Python-Client 2.3.0 it has big changes about options that need higher version of selenium, after upgrade selenium version, it always has errors like below picture, do you know how can I solve the problem? Thanks very much

err1 err2

somecho commented 7 months ago

According to this answer, higher versions of Appium uses Selenium 4, which uses the W3C protocol. However, WinAppDriver uses the JSON Wire Protocol. So they are incompatible. You can either use Selenium 3.14 or use the Appium Windows Driver. Note that the appium windows driver does not support actions other than touch or pen actions!