← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #681126]: Problem with wait(Pattern)

 

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

Description changed to:
Some time wait() will find a match but for the same screen has() will
return false.

I have a code like :

screen.wait(image, 60);

if (!screen.has(image)) {
	throw new FindFailed(FindFailed.createErrorMessage(this, image.getImage()));
}

above code sometimes throws FindFailed exception. This is happening
randomly.

I am working with Sikuli build: 270

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