title: My nightwatch.js tests not runs in Chrome headless of CentOS
body: <p>I run nightwatch.js tests using Nightwatch version 1.0.18 and It's working in windows environment but when I run it in centOS after installment of Xvfb I found below error.</p>
  
  <pre><code> Error while running .navigateTo() protocol action: invalid session id
  
   Error while running .locateMultipleElements() protocol action: invalid session id
  
   Error while running .locateMultipleElements() protocol action: invalid session id
  </code></pre>
  
  <p>Here is my nightwatch.json file code:</p>
  
  <pre><code>{
    "src_folders": [
      "./tests"
    ],
    "output_folder": "./reports",
    "custom_commands_path": "./custom_commands",
    "custom_assertions_path": "",
    "test_workers": false,
    "webdriver": {
      "start_process": true
    },
    "test_settings": {
      "default": {
        "webdriver": {
          "port": 9515,
          "server_path": "./node_modules/chromedriver/lib/chromedriver/chromedriver",
          "cli_args": [
            "--log",
            "debug"
          ]
        },
        "skip_testcases_on_fail": true,
        "desiredCapabilities": {
          "browserName": "chrome",
          "javascriptEnabled": true,
          "acceptSslCerts": true,
          "chromeOptions": {
            "args": [
              "headless",
              "no-sandbox",
              "disable-gpu"
            ]
          }
        }
      }
    }
  }
  </code></pre>
  
  <p>am I missing something to run my tests in the centOS environment because it is running in the windows environment? </p>