sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #24661
Re: [Question #245246]: find to different images then if found execute different action
Question #245246 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/245246
Description changed to:
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
thanks in advance :)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.