title: geckodriver.exe not in current directory or path variable, Selenium 2.53.1 + Firefox 48 + Selenium 3 Beta
body: <p>Seen a lot of questions regarding Selenium 2.53.1 and Firefox 47.0.1, but none in regards to the Selenium 3 Beta release. I am attempting to use the new gecko/marionette Firefox webdrivers, but even though I have the driver location in; my environment path, Firefox install folder in programs, and give the drive location in the system environment, it will still not work correctly.</p>
  
  <p><strong>Error:</strong></p>
  
  <p><em>The geckodriver.exe does not exist in the current directory or in a directory on the PATH environment variable. The driver can be downloaded at <a href="https://github.com/mozilla/geckodriver/releases">https://github.com/mozilla/geckodriver/releases</a>.</em></p>
  
  <p><strong>Using:</strong></p>
  
  <ul>
  <li>Selenium 2.53.1 server</li>
  <li>Firefox 48</li>
  <li>Selenium 3 Beta DLLs</li>
  <li>Window 10</li>
  </ul>
  
  <p><strong>Example Code 1</strong></p>
  
  <pre><code>    using OpenQA.Selenium.Firefox;
  
      public static class FirefoxInitialise
      {
           public static IWebDriver Driver {get; set;}
  
           Driver = new FirefoxDriver();
      }
  </code></pre>
  
  <p>Also attempted the below:</p>
  
  <pre><code>    using OpenQA.Selenium.Firefox;
  
      public static class FirefoxInitialise
      {
           public static IWebDriver Driver {get; set;}
  
           FirefoxDriverServices service = FirefoxDriverService.CreateDefaultService();
           service.FirefoxBinaryPath = @"C:\Program Files\Mozilla Firefox\firefox.exe";
           FirefoxOptions options = new FirefoxOptions();
           TimeSpan time = TimeSpan.FromSeconds(10);
           Driver = new FirefoxDriver(service, options, time);
      }
  </code></pre>
  
  <p>Any help or insight as to why the code still won't detect this driver would be greatly appreciated it.</p>