title: How to put file path of chromedrive on Eclipse
body: <p>How can I use Selenium to run for Google Chrome on Mac OS?  I have put the code underneath but it is still giving me an error.</p>
  
  <pre><code>System.setProperty("webdriver.chrome.driver", "/Users/STQRY/Document/Jay");
  WebDriver driver = new ChromeDriver();
  </code></pre>
  
  <p>ERROR:</p>
  
  <blockquote>
    <p>".....The driver executable is a directory: /Users/STQRY/Document/Jay"</p>
  </blockquote>
  
  <p>I've copied the path straight from the file when I right clicked and selected 'Copy File'.</p>