← Back to team overview

sikuli-driver team mailing list archive

[Question #142196]: [Java] Sikuli X: How to locate the images in the file system --- use the new Sikuli image path

 

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

*** This is a solution ***
and was brought up by Chaminda Peiris (https://launchpad.net/~cpeiris):

I also modified the code to set the image path.

ImageLocator imageLocator = new ImageLocator();
imageLocator.addImagePath("file:///c:/imgs");
screen.click("English.png", 0);


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