Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

session not created: Chrome version must be between

When driving chrome using ruby selenium driver, I get

/home/travis/.rvm/gems/ruby-2.6.2/gems/selenium-webdriver-3.141.5926/lib/selenium/webdriver/remote/response.rb:72:in `assert_ok': session not created: Chrome version must be between 70 and 73 (Selenium::WebDriver::Error::SessionNotCreatedError)

How do I resolve this issue? Downgrading chrome is not something I want to do.

like image 352
american-ninja-warrior Avatar asked Apr 24 '19 05:04

american-ninja-warrior


1 Answers

Apparently the chromedriver-helper gem was deprecated. I switched to using the webdrivers gem and it fixed the issue.

In Gemfile replace: gem 'chromedriver-helper'

With: gem 'webdrivers', '~> 3.0'

like image 159
natsbat4ws Avatar answered Oct 06 '22 00:10

natsbat4ws