March 9, 2021
Cuprite: headless Chrome Ruby driver for Capybara
Ferrum + Capybara = Cuprite
Cuprite is a driver for Capybara that uses Ferrum - a minimal-dependency pure-Ruby driver for running headless Google Chrome instances.
If you're already using Capybara, Cuprite gives you all the benefits of Ferrum, but without the overheads of having to switch APIs. Because Ferrum employs Chrome's native DevTools Protocol (CDP), it doesn't need anything special in order to operate Chrome or Chromium in headless mode, unlike some alternative solutions.