← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #676275]: .exists doesnt work properly

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
--- how sikulix IDE will be helpful in this
1. you can script quick-and-dirty trials of images and features
2. you can shot your images and manage them in a script folder

This works for me in the browser with the SikuliX homepage (IDE):

img = <a-shot>
while True:
  type(Key.DOWN)
  if exists(img, 0): break;

where img is an image near the bottom of the page (invisible when
starting)

- start the script
- activate the browser page 
... and watch

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.