sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #24660
[Question #245246]: find to different images then if found execute different action
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.