loading...
Cover image for Cuprite: headless Chrome Ruby driver for Capybara

Cuprite: headless Chrome Ruby driver for Capybara

evrone profile image Evrone ・1 min read

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.

Read more about the solution.

Discussion

pic
Editor guide