How to use geckodriver in selenium webdriver 3.0 beta?
<p>How can I use geckodriver for selenium webdriver 3.0 beta release. When I instantiate firefox like:</p>

<pre><code>WebDriver driver = new FirefoxDriver();
System.setProperty("webdriver.gecko.driver", "//lib//geckodriver");
driver.get("/");
</code></pre>

<p>I get error:</p>

<blockquote>
  <p>Exception in thread "main" java.lang.IllegalStateException: The path
  to the driver executable must be set by the webdriver.gecko.driver
  system property; for more information, see
  <a href="https://github.com/mozilla/geckodriver" rel="noreferrer">https://github.com/mozilla/geckodriver</a>.</p>
</blockquote>