...

/

Let’s Talk About Drivers

Let’s Talk About Drivers

Learn about Capybara and JavaScript drivers and how to import them into the project.

Capybara drivers

To understand what Capybara is doing and what we need to do to make JavaScript integration testing work, we need to know about drivers. The driver is the part of Capybara that actually manages a web page as a series of DOM elements. The Capybara query language interacts with the driver, telling it to click a button or fill a form element or querying the driver to ...