I hope I'm not repeating any questions but ive done a search and can't find what I'm looking for.

I am using Appium and opencv to perform some automation testing and taking some screenshots and comparing the images to some agreed correct outcomes.

I have been successful on using this approach on my mac for iOS and android however, on my windows machine (vm) which is running its own appium and installed opencv versions. I installed the opencv using:

npm i -g opencv4nodejs

Upon execution of the driver.findImageOccurence method i receive a 500 error in appium stating UnKnownCommandError - compare_images which translates in java to an UnsupportedCommandException. I am running the exact same code as what works for the iOS and android simulators.

Has anyone come across this or know how i can fix this issue?

Cheers in advance.

0 Answers