折腾两天了,python 编写测试脚本时,调用 self.driver.get_images_similarity 失败,报错
selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: 'opencv4nodejs' module is required to use OpenCV features. Please install it first ('npm i -g opencv4nodejs') and restart Appium. Read https://github.com/justadudewhohacks/opencv4nodejs#how-to-install for more details on this topic.
但是通过 appium-doctor 查看,实际 opencv4nodejs 已安装: