I'm trying to configure RSpec suite to run against Chromium browser (instead of google-chrome)...
The test suite fails with the following error
1.2) Failure/Error: Unable to infer file and line number from backtrace
Selenium::WebDriver::Error::SessionNotCreatedError:
session not created: This version of ChromeDriver only supports Chrome version 80
# 0 chromedriver 0x0000000103190329 chromedriver + 3838761
# 1 chromedriver 0x000000010312a123 chromedriver + 3420451
# yada yada
I've installed ChromeDriver and chromium browser (via brew cask install chromedriver chromium)...
here is the spec_helper.rb configurations for capybara
require "capybara/rails"
require "capybara/rspec"
require "capybara-screenshot/rspec"
require "selenium/webdriver"
# Capybara.default_driver = :selenium_chrome_headless
Capybara.default_driver = :selenium_chrome
This works perfectly when chrome is installed (same v.82 as chromium) but doesn't work with chromium... is there any way to get the selenium chrome driver to work with chromium?