sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #42917
[Question #644806]: continue Loop after break
New question #644806 on Sikuli:
https://answers.launchpad.net/sikuli/+question/644806
#look when one of the two image appear.
while True:
wait(2)
print ('Searching...')
if exists ("1498307221873.png",0):
print "Found E"
#break loop
continue
elif exists ("1498307427007.png",0):
print "Found D"
continue
#break
else:
print " Waiting..."
wait(30)
click("1498306719179.png")
pass
why after "Found E" the Sikuli exit and not continue loop?
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.