Description
Ferrum is a Ruby driver for headless Chrome. It talks to Chrome directly over the DevTools Protocol, without Selenium, WebDriver or ChromeDriver, and it offers a high-level Ruby API. The site says it is headless by default, with a headful mode when you want to watch it work. Features include evaluating JavaScript in the page, mouse and keyboard input, screenshots and PDF output, network control, and a set of debugging tools for specs. Ferrum is part of a three-tool family from RubyCDP: Cuprite is a pure Ruby driver for Capybara built on Ferrum, so your Capybara specs run on headless Chrome, and Vessel is the third tool in the set. The Ferrum site includes quick start guides, documentation and a list of projects that use it. The gem is installed with bundle add ferrum, and the licence is MIT. The tools are maintained by Bitsbeam under the RubyCDP organisation on GitHub.…
Highlights
- Ruby API for headless Chrome
- Talks DevTools Protocol directly
- Headless by default, headful on request
- Screenshots, PDF and network control
- Cuprite driver for Capybara
Ratings & Reviews
No ratings yet
Be the first to rate Ferrum.
People also visit
Ferrum FAQ
What is Ferrum?
A Ruby driver for Chrome that uses the DevTools Protocol directly, with no Selenium, WebDriver or ChromeDriver.
How do I install it?
Run bundle add ferrum in your Ruby project.
Can I see the browser while it runs?
Yes. It is headless by default, and you can switch to headful mode to watch it work.
What is Cuprite?
A pure Ruby driver for Capybara that runs your specs on headless Chrome through Ferrum.
What is the licence?
MIT, according to the site.
What are the best Ferrum alternatives?
Popular alternatives to Ferrum include browserless.js.org, Puppeteer and Chrome Har Capturer. See all Ferrum alternatives









