New question #245246 on Sikuli:
https://answers.launchpad.net/sikuli/+question/245246

I tried looking around but didn't really see what I am looking for. What I want 
is after entering a website, search for imageA or imageB, if imageA is found, 
refresh again. If imageB is found, then proceed to other command. Then loop 
again.

what I have now is something like this
entering a url
while exists (wait("imageA",FOREVER) or wait("imageB",FOREVER)): 
   if exists("imageA"):
                click("refresh")
            else:
                click(imageC)
loop

-- 
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     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to