title: Why Sikuli is not able to find the image path
body: <p>I am trying to open simple gmail link on google home page but image path is not getting detected by Sikuli here please help and yes I am working on Mac OS system. Is it something to do with my <code>sikulixapi</code> jar placement? I have placed it here:</p>
  
  <pre><code>/Users/vishalsrivastava/Documents/JARS/SikuliJar/sikulixapi.jar
  </code></pre>
  
  <p>and no matter what image or what path I am trying, Sikuli always returns error and exceptions. I am totally confused.</p>
  
  <pre><code>package sikuli;
  
  import java.util.concurrent.TimeUnit;
  
  import org.openqa.selenium.WebDriver;
  import org.openqa.selenium.firefox.FirefoxDriver;
  import org.sikuli.script.*;
  
  public class TestSikuli {
  
      public static void main(String[] args) {
          WebDriver driver=new FirefoxDriver();
          driver.get("http://google.com/");
          driver.manage().timeouts().implicitlyWait(30,TimeUnit.SECONDS);
          Screen s = new Screen();
          try{
              Pattern gmail=new Pattern("/Users/vishalsrivastava/Documents/workspace/SeleniumTest/imgs/gmail.png");
              s.click(gmail);
  
          }
          catch(FindFailed e){
              e.printStackTrace();
          }
  
      }
  
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/yZ1Kx.png" rel="nofollow"><img src="https://i.stack.imgur.com/yZ1Kx.png" alt="See the path of Image file.Still why sikuli is not liking it"></a></p>
  
  <p><a href="https://i.stack.imgur.com/h4SNB.png" rel="nofollow"><img src="https://i.stack.imgur.com/h4SNB.png" alt="What is purpose of ImagesAPi.sikuli ??"></a></p>