← Back to team overview

sikuli-driver team mailing list archive

[Question #235864]: Exist function in sikuli java API

 

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

Hai

Can Any body please tell me how can i check whether an image is there in the screen or not.

Presently i am using this :-
Screen s = new Screen();
if(!s.exists("C://Images//Screen1.png").contains(s));

But this is not perect. If the image is not there it is not going to else condition.

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