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.
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'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With