title: Selemium ChromeDriver returns unknown error: unable to discover open pages
body: <p>I have created a maven project inside the test package added a testNg test cases: </p>
  
  <pre><code>public class SampleTestNGTest {    
      private WebDriver driver;       
          @Test               
          public void testEasy() {
                      System.setProperty("webdriver.chrome.driver","D:\\NetBeansProjects\\webdrivertestng\\Drivers\\chromedriver.exe");
                      driver = new ChromeDriver();
              driver.get("example.com");  
              String title = driver.getTitle();
                          Assert.assertTrue(title.contains("abcd")); 
                          //System.out.println("checking new build");
          }   
  
          @AfterTest
          public void afterTest() {
              driver.quit();          
          }                
  }
  </code></pre>
  
  <p>I executed it in Netbeans perfectly without any error. But when I execute from Jenkins(integrated the maven project with Jenkins), it shows the following error:</p>
  
  <pre><code>Running SampleTestNGTest
  Configuring TestNG with: org.apache.maven.surefire.testng.conf.TestNG652Configurator@6d8acf
  Starting ChromeDriver 2.14.313457 (3d645c400edf2e2c500566c9aa096063e707c9cf) on port 2916
  Only local connections are allowed.
  Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 64.572 sec &lt;&lt;&lt; FAILURE!
  testEasy(SampleTestNGTest)  Time elapsed: 63.571 sec  &lt;&lt;&lt; FAILURE!
  org.openqa.selenium.WebDriverException: unknown error: unable to discover open pages
    (Driver info: chromedriver=2.14.313457 (3d645c400edf2e2c500566c9aa096063e707c9cf),platform=Windows NT 6.1 SP1 x86) (WARNING: The server did not provide any stacktrace information)
  Command duration or timeout: 61.32 seconds
  Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46'
  System info: host: 'MVSL1742', ip: '172.16.17.42', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.8.0_05'
  Driver info: org.openqa.selenium.chrome.ChromeDriver
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
      at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
      at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
      at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
      at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249)
      at org.openqa.selenium.remote.RemoteWebDriver.&lt;init&gt;(RemoteWebDriver.java:131)
      at org.openqa.selenium.remote.RemoteWebDriver.&lt;init&gt;(RemoteWebDriver.java:144)
      at org.openqa.selenium.chrome.ChromeDriver.&lt;init&gt;(ChromeDriver.java:170)
      at org.openqa.selenium.chrome.ChromeDriver.&lt;init&gt;(ChromeDriver.java:159)
      at org.openqa.selenium.chrome.ChromeDriver.&lt;init&gt;(ChromeDriver.java:116)
      at SampleTestNGTest.testEasy(SampleTestNGTest.java:24)
  
  afterTest(SampleTestNGTest)  Time elapsed: 63.573 sec  &lt;&lt;&lt; FAILURE!
  java.lang.NullPointerException
      at SampleTestNGTest.afterTest(SampleTestNGTest.java:37)
  
  
  Results :
  
  Failed tests:   testEasy(SampleTestNGTest): unknown error: unable to discover open pages(..)
    afterTest(SampleTestNGTest)
  
  Tests run: 2, Failures: 2, Errors: 0, Skipped: 0
  </code></pre>
  
  <ol>
  <li><p>If I use FirefoxDriver, the build executes without errors.</p></li>
  <li><p>If I use ChromeDriver, the build executes with error.</p></li>
  </ol>
  
  <p><strong>pom .xml</strong></p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt;
      &lt;artifactId&gt;selenium-chrome-driver&lt;/artifactId&gt;
      &lt;version&gt;2.53.0&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p><strong>EDIT</strong>: On my local machine, ChromeDriver version is 2.9</p>