I’ve been using Capybara-WebKit for a long time but while switching from CircleCI 1.0 to CircleCI 2.0 I had some problems to use it on the CI.

This triggered to try Chrome Headless with Selenium Webdriver. I will show you how to configure Circle CI 2.0 and your Ruby on Rails project to use capybara/selenium/chrome headless together.

Add capybara and selenium-webdriver

Configure Capybara

Configure Capybara

Configure CircleCI 2.0 to run Chrome headless

#circle-ci #cicd #capybara #ruby #ruby-on-rails #rspec #chrome #selenium-webdriver

RSpec, Capybara, CircleCI And Chrome Headless Webdriver Configuration
1.40 GEEK