title: Selenium Chromedriver Starts Hidden and Version Compatibility
body: <p>I am trying to execute Selenium test cases on Chrome browser. When I'm running the test cases on Chrome, Chrome browser is opened (in the background) and test cases are running as expected. The problem is, while running the test cases, Chrome browser doesn't appear as an active window, and below is the text that I got in the console:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>Starting ChromeDriver 2.22.397929 (fb72fb249a903a0b1041ea71eb4c8b3fa0d9be5a) on port 28568
  Only local connections are allowed.</code></pre>
  </div>
  </div>
  </p>
  
  <p>Versions used:
  Chrome browser: 51.0.2704.103,
  ChromeDriver: 2.22,
  Selenium Standalone Server: 2.53.0,
  IDE: IntelliJ on Mac</p>
  
  <p>Below is the code i am using for chrome browser:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>case "Chrome": {
                  System.setProperty("webdriver.chrome.driver", "src/main/resources/chromedriver");
                  driver = new ChromeDriver();
                  driver.manage().window().maximize();
                  break;
              }</code></pre>
  </div>
  </div>
  </p>
  
  <p>Below is the POM.xml details:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt;
          &lt;artifactId&gt;selenium-firefox-driver&lt;/artifactId&gt;
          &lt;version&gt;2.53.0&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt;
          &lt;artifactId&gt;selenium-java&lt;/artifactId&gt;
          &lt;version&gt;2.53.0&lt;/version&gt;
      &lt;/dependency&gt;
      &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;
  &lt;/dependencies&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Same test cases are working fine on Firefox (43.0).
  Please let me know if I am doing something wrong or if I have to change the versions that I am using. Thanks in advance!!</p>