WinAppDriver icon indicating copy to clipboard operation
WinAppDriver copied to clipboard

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

Open WangCuiCui57 opened this issue 1 year ago • 1 comments

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

  • Appium-Python-Client 3.2.1
  • selenium 4.18.1
  • WinAppDriver 1.2.1

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

WangCuiCui57 avatar Mar 07 '24 03:03 WangCuiCui57

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!

somecho avatar Mar 18 '24 15:03 somecho