Cuprite
Pure Ruby driver for Capybara that runs Capybara tests on headless Chrome or Chromium.
Cuprite is a Ruby gem with no Selenium, WebDriver or ChromeDriver dependency that lets Capybara tests run against headless Chrome or Chromium. Projects install it with Bundler, as the documentation describes. Under the hood it uses Ferrum, a high-level Ruby API to the browser over the CDP protocol.
Worth knowing
A Chrome or Chromium binary has to be installed and reachable through the PATH, the BROWSER_PATH variable or the browser_path option.
Sources
- 2026-11-04: links
rubycdp.com/ - 2026-11-04: links, Written in, GitHub stars, License
api.github.com/repos/rubycdp/cuprite - 2026-11-04: links, Built on, Install with
docs.rubycdp.com/docs/cuprite/introduction/ - 2026-11-04: First release
rubygems.org/api/v1/versions/cuprite.json - 2026-11-04: Maintainer
github.com/rubycdp/cuprite/blob/main/LICENSE - 2026-11-04: Runtime, Categories
github.com/rubycdp/cuprite/blob/main/README.md - 2026-11-04: Minimum runtime
github.com/rubycdp/cuprite/blob/v0.20/cuprite.gemspec - 2026-11-04: Current major version, Last release
api.github.com/repos/rubycdp/cuprite/releases - 2026-11-04: Contributors
api.github.com/repos/rubycdp/cuprite/contributors?per_page=1 - 2026-11-04: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/cuprite