Can we use image comparison (findElementByImage) with WinAppDriver

Copper Contributor

Hi, 

Image comparison for mobile app with Appium is working. if using WinAppDriver for Windows application, can we still use image comparison like findElementByImage? if yes, how can we set it up? Thanks.

 

https://kobiton.com/book/chapter-14-image-comparison-using-appium/

1 Reply

@NicoleJohnson
Hi Nicole,

 

The Kobiton book also inspired me to try using image locators with WinAppDriver. Thanks to recent enhancements to Appium and WinAppDriver, now we can! 

I created a quick example on Github (which I will continue to expand) to demonstrate how to use findElementByImage with WinAppDriver. Please try it out; I welcome suggestions and feedback.
https://github.com/leobooth/WinAppDriver-Appium-CalculatorTest 


Thanks,
@leobooth