← Back to team overview

sikuli-driver team mailing list archive

[Question #229736]: How to wait and refresh untill a image is found ?

 

New question #229736 on Sikuli:
https://answers.launchpad.net/sikuli/+question/229736

Im using Eclipse with Selinuim JAR file. I want to wait till a image is vanished, If a image is vanished, I want to proceed with my rest of the code, or else I want to do a  sleep for 5 seconds and then refresh it and again check for image. Is there a way I can do it ? using some while loop or something ? 

Also how to do the other way ? Instead waiting for a image to vanish, I want to wait for a image, If image is not there, then i want to sleep and refresh inside a while loop. Is it possible with Eclipse and Selinum JAR ?? thanks in advance.

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