Suddenly builds have stopped working with the following error:
session not created: This version of ChromeDriver only supports Chrome version 87
Current browser version is 89.0.4389.82 with binary path /usr/bin/google-chrome
I reran a build job that worked fine 4 days ago, and is now failing with the above error.
It appears that Chrome has recently updated to version 89 but ChromeDriver is still at version 87.
I have tried getting ChromeDriver to update by running
bundle exec rake rake webdrivers:chromedriver:update
which reports that the upgrade to 89 has been made, but seems to have no effect.
I suspect somehow travis is keeping ChromeDriver at some non standard place?
I would be happy to backup to Chrome version 87 if anybody knows how to do that.
Here are the relevant parts of my .travis.yml file
dist: xenial addons: apt: sources: - sourceline: 'deb http://dl.yarnpkg.com/debian/ stable main' key_url: 'http://dl.yarnpkg.com/debian/pubkey.gpg' - sourceline: 'deb http://dl.google.com/linux/chrome/deb/ stable main' key_url: 'https://dl-ssl.google.com/linux/linux_signing_key.pub' packages: - chromium-chromedriver - google-chrome-stable postgresql: '11' _test_gem_pg: &_test_gem_pg before_install: - gem install bundler - echo 'install completed' before_script: - echo before_script $COMPONENT - cd ruby/$COMPONENT - bundle install --jobs=3 --retry=3 - bundle exec rake spec:prepare - google-chrome --version - which google-chrome - yarn install script: - echo running script $COMPONENT - DRIVER=travis bundle exec rake $TASK