← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #202201]: I have problem wait command.

 

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

    Status: Open => Answered

Jacob Dorman proposed the following answer:
Try something like this:
Say your image is named "bob".

wait(bob, 200)

That waits up to 200 seconds for the bob image to appear anywhere on
screen.  If you want to wait forever, use the constant FOREVER to
represent that.

wait(bob, FOREVER)

If you'd like to know more about the wait command, here's a quick link to the documentation on it.
http://sikuli.org/docx/region.html#Region.wait

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