title: How to run Selenium WebDriver test cases in Chrome in MAC OS?
body: <p>I am getting this error:</p>
  
  <blockquote>
    <p>Exception in thread "main" java.lang.IllegalStateException: The path
    to the driver executable must be set by the webdriver.chrome.driver
    system property; for more information, see
    <a href="http://code.google.com/p/selenium/wiki/ChromeDriver" rel="nofollow">http://code.google.com/p/selenium/wiki/ChromeDriver</a>. The latest
    version can be downloaded from
    <a href="http://chromedriver.storage.googleapis.com/index.html" rel="nofollow">http://chromedriver.storage.googleapis.com/index.html</a>     at
    com.google.common.base.Preconditions.checkState(Preconditions.java:197)
      at
    org.openqa.selenium.remote.service.DriverService.findExecutable(DriverService.java:110)
      at
    org.openqa.selenium.chrome.ChromeDriverService.access$0(ChromeDriverService.java:1)
      at
    org.openqa.selenium.chrome.ChromeDriverService$Builder.findDefaultExecutable(ChromeDriverService.java:118)
      at
    org.openqa.selenium.remote.service.DriverService$Builder.build(DriverService.java:291)
      at
    org.openqa.selenium.chrome.ChromeDriverService.createDefaultService(ChromeDriverService.java:82)
      at
    org.openqa.selenium.chrome.ChromeDriver.(ChromeDriver.java:117)
      at selenium.basics.Chrome.chromeBrowser(Chrome.java:16)     at
    selenium.basics.Firefox.main(Firefox.java:8)</p>
  </blockquote>