← Back to team overview

sikuli-driver team mailing list archive

[Question #254856]: sikuli-java 1.0.1 - The timeout used by exists method

 

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

I am using sikuli-java 1.0.1 with JDK 1.7 on a Win7 box.

When I am calling screen.exists(imageName), it seems to be coming back only after about 5 seconds. Tried making it exists(imageName, 0), but that didn't make it return any faster. The same was the case with any value between 0 - 5. For all of these the autoWaitTimeout was the default value of 3.

Tried calling screen.exists(imageName) after calling screen.setAutoWaitTimeout(0.1), but that didn't help either.

When I pass values of more than 5 for the seconds parameter (say 15), then it seemed to take that much of time. 

Is this behavior expected ? 

Thanks.

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