← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #215524]: FindFailed: Line ?, in File ?

 

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

RaiMan proposed the following answer:
-- 1. looking at the error message ...
it does not seem to be the latest version of Sikuli (-> sikuli.org/download)

-- 2. s.click("D:\\Selenium\\ap\\img1\\Savefiles.png", 5);
the second parameter for click() is for key modifier values (class KeyModifier which is not available in older versions on the Java level).
In your case you are trying to press the keys META and SHIFT together with the click.

If you thought this should be a waiting time:
s.click(s.wait(...image..., 5))

-- 3. FindFailed
the image is either not found with the given filename or not found on the screen within 3 seconds.

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