经常会遇到在一个页面里面有很多相似的图片,如果只用find就会出现有可能选择到错误的对象上。
这里sikulix提供了findall这个方法
Iterator<Match> I = r.findAll("img/Open.png");
Match M1 ;
while(I.hasNext()){
M1 = I.next();
M1.highlight();
I.next();
}
依照这样一个方法可以做出底层方法
原文:http://www.cnblogs.com/goldenRazor/p/4884662.html