Chromedriver error "Chrome version must be >= 52" using Nightwatch
<p>I'm trying to setup <a href="http://nightwatchjs.org/guide#guide" rel="noreferrer">Nightwatch</a>, and am using the <strong>latest chromedriver</strong> which says it <a href="http://chromedriver.storage.googleapis.com/2.24/notes.txt" rel="noreferrer">supports chrome v52-54</a>. BUT, when I try to run the tests, it says <strong><code>'Error: Chrome version must be &gt;=52.0.2743.'</code></strong> Here's everything that I'm using:</p>

<ul>
<li><a href="https://sites.google.com/a/chromium.org/chromedriver/downloads" rel="noreferrer">ChromeDriver 2.24</a></li>
<li><a href="http://selenium-release.storage.googleapis.com/index.html" rel="noreferrer">Selenium 2.53.1</a></li>
<li><a href="http://nightwatchjs.org/guide#installation" rel="noreferrer">Nightwatch v0.9.8</a></li>
<li><a href="https://nodejs.org/en/" rel="noreferrer">Node v6.5.0</a></li>
<li><a href="http://openjdk.java.net/install/" rel="noreferrer">Java v1.7.0_111</a></li>
</ul>

<p><strong>Project Structure</strong></p>

<pre><code>|-- nightwatch.json
|-- bin/
|   |-- chromedriver
|   |-- selenium-server-standalone-2.53.1.jar
|-- tests/
|   |-- sample.js
|-- results/
|-- screens/
|-- node_modules/
|   |-- (lots of modules here)
</code></pre>

<p>And here is my <a href="http://nightwatchjs.org/guide#settings-file" rel="noreferrer">configuration file</a> for nightwatch:</p>

<p><strong>./nightwatch.json</strong></p>

<pre><code>{
  "src_folders" : ["tests"],
  "output_folder" : "results",
  "custom_commands_path" : "",
  "custom_assertions_path" : "",
  "page_objects_path" : "",
  "globals_path" : "",

  "selenium" : {
    "start_process" : true,
    "server_path" : "bin/selenium-server-standalone-2.53.1.jar",
    "log_path" : "results",
    "host" : "127.0.0.1",
    "port" : 4444,
    "cli_args" : {
      "webdriver.chrome.driver" : "bin/chromedriver"
    }
  },

  "test_settings" : {
    "default" : {
      "launch_url" : "http://localhost",
      "selenium_port"  : 4444,
      "selenium_host"  : "localhost",
      "silent": true,
      "screenshots" : {
        "enabled" : true,
        "path" : "screens/"
      },
      "desiredCapabilities": {
        "browserName": "chrome",
        "javascriptEnabled": true,
        "acceptSslCerts": true
      }
    },

    "chrome" : {
      "desiredCapabilities": {
        "browserName": "chrome",
        "javascriptEnabled": true,
        "acceptSslCerts": true
      }
    }
  }
} 
</code></pre>

<p><strong>Running Tests</strong></p>

<p>I run the tests like this:</p>

<pre><code>nightwatch tests/
</code></pre>

<p><strong>Error</strong></p>

<p>And I get the following output:</p>

<pre><code>Starting selenium server... started - PID:  3500

[Sample] Test Suite
=======================

Running:  Demo test Google

Error retrieving a new session from the selenium server

Connection refused! Is selenium server started?
{ sessionId: null,
  status: 13,
  state: 'unhandled error',
  value: 
   { message: 'unknown error: Chrome version must be &gt;= 52.0.2743.0\n  (Driver info: chromedriver=2.24.417424 (c5c5ea873213ee72e3d0929b47482681555340c3),platform=Linux 3.2.0-56-generic x86_64) (WARNING: The server did not provide any stacktrace information)\nCommand duration or timeout: 1.42 seconds\nBuild info: version: \'2.53.1\', revision: \'a36b8b1\', time: \'2016-06-30 17:37:03\'\nSystem info: host: \'N/A\', ip: \'N/A\', os.name: \'Linux\', os.arch: \'amd64\', os.version: \'3.2.0-56-generic\', java.version: \'1.7.0_111\'\nDriver info: org.openqa.selenium.chrome.ChromeDriver',
     suppressed: [],
     localizedMessage: 'unknown error: Chrome version must be &gt;= 52.0.2743.0\n  (Driver info: chromedriver=2.24.417424 (c5c5ea873213ee72e3d0929b47482681555340c3),platform=Linux 3.2.0-56-generic x86_64) (WARNING: The server did not provide any stacktrace information)\nCommand duration or timeout: 1.42 seconds\nBuild info: version: \'2.53.1\', revision: \'a36b8b1\', time: \'2016-06-30 17:37:03\'\nSystem info: host: \'N/A\', ip: \'N/A\', os.name: \'Linux\', os.arch: \'amd64\', os.version: \'3.2.0-56-generic\', java.version: \'1.7.0_111\'\nDriver info: org.openqa.selenium.chrome.ChromeDriver',
     buildInformation: 
      { releaseLabel: '2.53.1',
        buildTime: '2016-06-30 17:37:03',
        class: 'org.openqa.selenium.internal.BuildInfo',
        buildRevision: 'a36b8b1',
        hCode: 1900167016 },
     cause: null,
     systemInformation: 'System info: host: \'N/A\', ip: \'N/A\', os.name: \'Linux\', os.arch: \'amd64\', os.version: \'3.2.0-56-generic\', java.version: \'1.7.0_111\'',
     supportUrl: null,
     class: 'org.openqa.selenium.WebDriverException',
     additionalInformation: '\nDriver info: org.openqa.selenium.chrome.ChromeDriver',
     hCode: 1299270263,
     screen: null },
  class: 'org.openqa.selenium.remote.Response',
  hCode: 1144687147 }
</code></pre>

<p>Anyone know how to resolve this error?</p>

<p><strong><code>Chrome version must be &gt;= 52.0.2743.0</code></strong></p>

<p>Does chromedriver use my local copy of chrome? Do I need to update my actual chrome?</p>