Question #249558 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/249558

Jeremy proposed the following answer:
The findAll worked for me:
Iterator<Match> matches;
                        int looking_for_three = 0;
                        while (looking_for_three != 3)
                        {
                                looking_for_three = 0;
                                matches = s.findAll(Battle.toString());
                                        while(matches.hasNext()){
                                                matches.next();
                                                looking_for_three++;
                                        }
                                System.out.println(looking_for_three + " 
count");
                        }       
                        matches = s.findAll(Battle.toString());
My page loads slowly, so I'm just waiting for them all to load.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to