Is it possible to hihghlight the matched image on the mobile app with image recognition feature?
coz i am trying to find an element by image and the image is found but it does not tap on the found image
i tried below code but does not seems working so want to try highlighting and see where the match is found on the mobile app.
MobileElement Addsettoprofile = (MobileElement) driver.findElement(MobileBy.image(Addset)); Point location= Addsettoprofile.getLocation(); TouchAction a3 = new TouchAction(driver); PointOption pointOption = new PointOption(); a3.tap(PointOption.point(location)).perform();
Do not know what is wrong.