Session not created exception: Chrome version must be >= 62.0.3202.0

I couldn’t get any of the above fixes to work for me. I managed to fix it by downloading and installing the package directly from Google like so:

  - run:
      name: Install Chrome
      command: |
        curl -L -o google-chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
        sudo dpkg -i google-chrome.deb
        sudo sed -i 's|HERE/chrome\"|HERE/chrome\" --disable-setuid-sandbox|g' /opt/google/chrome/google-chrome
        rm google-chrome.deb