Capybara is a tool for integration testing Ruby web applications that allows automating browser interactions directly from tests. It is driver agnostic and supports RackTest, Selenium, Capybara-webkit, and other drivers, and provides a DSL for writing tests that simulate user interactions like clicks, fills, and matches against page content. Capybara tests can be written using Cucumber or RSpec and configured to run quickly using headless drivers or remotely on servers.
Related topics: