Forum Discussion

NicoleJohnson's avatar
NicoleJohnson
Copper Contributor
Aug 28, 2020

Can we use image comparison (findElementByImage) with WinAppDriver

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

  • leobooth's avatar
    leobooth
    Copper Contributor

    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 

Resources