title: Using protractor with directconnect=true - how to fix - This version of ChromeDriver only supports Chrome version
body: <h3>package.json</h3>
  
  <pre class="lang-js prettyprint-override"><code>{
    "name": "test1",
    "version": "1.0.0",
    "description": "",
    "main": "index.js",
    "scripts": {
      "test": "npm run webdriver-update &amp;&amp; npm run test-protractor",
      "test-protractor": "protractor protractor.conf.js",
      "webdriver-update": "webdriver-manager update"
    },
    "keywords": [],
    "author": "",
    "license": "ISC",
    "devDependencies": {
      "chai": "^4.2.0",
      "chai-as-promised": "^7.1.1",
      "cucumber": "^6.0.5",
      "jasmine-spec-reporter": "^4.2.1",
      "protractor": "^5.4.2",
      "protractor-cucumber-framework": "^6.2.0",
      "rimraf": "^3.0.1"
    }
  }
  </code></pre>
  
  <h3>protractor.conf.js</h3>
  
  <pre class="lang-js prettyprint-override"><code>const protractor = require('protractor');
  
  // console.log('browser = ', browser);
  exports.config = {
    framework: 'custom',
    frameworkPath: require.resolve('protractor-cucumber-framework'),
    getPageTimeout: 60000,
    allScriptsTimeout: 500000,
    specs: ['features/*.feature'],
    baseURL: 'http://www.google.com/',
    cucumberOpts: {
      require: [
        './features/step_definitions/stepDefinitions.js'
      ],
      tags: false,
      profile: false,
      'no-source': true
    },
    onPrepare: function() {
      // browser.ignoreSynchronization = true;
      // browser.manage().window().maximize();
      // browser.manage().timeouts().implicitlyWait(5000);
  
    },
    capabilities: {
      browserName: "chrome",
      chromeOptions: {
        args: [
          '--headless',
          '--disaple-gpu',
          '--window-size=1920,1080',
          '--no-sandbox',
          '--disable-dev-shm-usage'
        ],
        prefs: {
          download: {
            prompt_for_download: false,
            extensions_to_open: ''
          },
          profile: {
            default_content_settings: {
              popups: 0
            }
          },
          directory_upgrade: true
        },
        useAutomationExtension: false
      }
    },
    // connec direct to webdriver, instead of local selenium server!
    directConnect: true,
    ignoreUncaughtException: true,
    onComplete: () =&gt; {
      // Reporter.createHtmlReport();
    }
  }
  </code></pre>
  
  <h3>Error</h3>
  
  <blockquote>
    <p>Session not created: This version of ChromeDriver only supports Chrome version 80</p>
  </blockquote>
  
  <p>I can manually set update-config.json andhave downloaded many different chromedriver versions, but I still get the same error.
  Example:</p>
  
  <h3>update-config.json</h3>
  
  <pre class="lang-js prettyprint-override"><code>{"standalone":{"last":"node_modules/protractor/node_modules/webdriver-manager/selenium/selenium-server-standalone-3.141.59.jar","all":["node_modules/protractor/node_modules/webdriver-manager/selenium/selenium-server-standalone-3.141.59.jar"]},"gecko":{"last":"node_modules/protractor/node_modules/webdriver-manager/selenium/geckodriver-v0.26.0.exe","all":["node_modules/protractor/node_modules/webdriver-manager/selenium/geckodriver-v0.26.0.exe"]},"chrome":{"last":"node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_75.0.3770.8.exe","all":["node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_75.0.3770.8.exe","node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_75.0.3770.8.exe"]}}
  </code></pre>
  
  <h3>Error</h3>
  
  <blockquote>
    <p>E/launcher - session not created: This version of ChromeDriver only supports Chrome version 75</p>
  </blockquote>
  
  <p>This is version 75, so what is happening exactly?
  I am not using angular. I am using directconnect=true, and set everything to be headless. I did have it working at one point but lost the code and stuck in this loop.</p>