title: RSpec capybara with Chromium
body: <p>I'm trying to configure RSpec suite to run against <code>Chromium</code> browser (instead of <code>google-chrome</code>)...
  The test suite fails with the following error</p>
  
  <pre><code>     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
  </code></pre>
  
  <p>I've installed <code>ChromeDriver</code> and chromium browser (via <code>brew cask install chromedriver chromium</code>)...</p>
  
  <p>here is the <code>spec_helper.rb</code> configurations for capybara</p>
  
  <pre><code>require "capybara/rails"
  require "capybara/rspec"
  require "capybara-screenshot/rspec"
  require "selenium/webdriver"
  
  # Capybara.default_driver = :selenium_chrome_headless
  Capybara.default_driver = :selenium_chrome
  </code></pre>
  
  <p>This works perfectly when chrome is installed (same <code>v.82</code> as chromium) but doesn't work with chromium... is there any way to get the selenium chrome driver to work with chromium?</p>