← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #262845]: Java code to wait till clickable image appears

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
this site has been very helpful in resolving many of my issues
... but you should consult also the docs from time to time
javadocs: http://nightly.sikuli.de/docs/index.html

Screen s = new Screen()
Region reg = <the region, where one expects the image to appear>
s.click(reg.wait(<some-image>, max_wait))

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