title: Firefox is not launched using Geckodriver and Selenium - It works with Chrome
body: <p>I've started using the Geckodriver today with no success.</p>
  
  <p>The same scripts work using chrome (chrome launches correctly) but the Firefox browser is not being launched and TestNG fails the scripts before launching the browser.</p>
  
  <p>The code is as simple as this:</p>
  
  <pre><code>       case "IE":
              System.setProperty("webdriver.ie.driver", ECC.IE_DRIVER_PATH);
              localWebDriver = new InternetExplorerDriver();
              break;
         case "FIREFOX":
              System.setProperty("webdriver.gecko.driver", ECC.FIREFOX_DRIVER_PATH);
              localWebDriver = new FirefoxDriver();
              break;
          case "CHROME":
              System.setProperty("webdriver.chrome.driver", ECC.CHROME_DRIVER_PATH);
              localWebDriver = new ChromeDriver();
              break;
          }
  </code></pre>
  
  <p>When performing the <code>localWebDriver = new FirefoxDriver();</code>, it does not launches the browser, and it automatically goes to the <code>invoker.class</code> to the following code:</p>
  
  <pre><code> catch(InvocationTargetException ite) {
     testResult.setThrowable(ite.getCause());
     setTestStatus(testResult, ITestResult.FAILURE);
   }
  </code></pre>
  
  <p>The console only shows this: </p>
  
  <blockquote>
    <p>1491601901866  geckodriver INFO    Listening on 127.0.0.1:27826</p>
  </blockquote>
  
  <p>I'm using:</p>
  
  <ul>
  <li>FF version 48</li>
  <li>Geckodriver 15.0</li>
  <li>Selenium 3.3.1</li>
  </ul>
  
  <p>I've also tried with the most updated version of FF without success.</p>
  
  <p>This does not happens with chrome.</p>
  
  <p>Can you please help me?</p>
  
  <p>Thanks in advance!!</p>