← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #181852]: if statements inside for loop

 

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

    Status: Open => Answered

surfdork proposed the following answer:
Try a while loop  include an image within the click() or exists or
whatever action you want to perform.

Also I don't see any wait statements included with the visual
assertions.

count = 0
while (count <10):
    click(), count
    count = count + 1
popup ("finished counting")

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