question: public Boolean elementExists ( String targetImgPath ) { Point2D coords = getCoords ( takeScreenshot ( ) , targetImgPath ) ; return ( coords . getX ( ) >= 0 ) && ( coords . getY ( ) >= 0 ) ; }
target:  Convenience method that returns true if the element is visible on the screen. Used as an expected condition in waitUntilImageExists