I must check icons on a web page, the same icon is used at several locations of the page, I would like to be able to restrict the checking into a (x,y,width,height) or (min_x, min_y, max_x, max_y) rectangle so that the test don't finish ok if one of the icon is not right
how can I do that?