Ferrum
Headless Chrome Ruby API
...The project allows developers to automate browser interactions directly without relying on Selenium, WebDriver, or external drivers, which simplifies browser automation workflows. Ferrum runs in headless mode by default but can also be configured to run with a visible browser window for debugging and development purposes. The library communicates directly with Chrome through the DevTools Protocol, providing access to advanced browser functionality such as DOM manipulation, network inspection, and page automation. Because of this low-level access, Ferrum offers greater flexibility and performance compared to traditional WebDriver-based automation tools.