← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #206320]: Script doesn't wait until image is found

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
It is surely a similarity problem.

This should help:
- restrict the search area somehow to the region, where you expect the target to appear/change/vanish
- use a higher minSimilarity:
wait(Pattern("<image of entry of select>").similar(0.95),FOREVER) # max: 0.99 (do not use 1.0 or exact() )

If you do not get on the road:
pack some screenshots and image probes in a zip file and send to my mail at https://launchpad.net/~raimund-hocke

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