Rails supports writing Capybara tests out of the box since the 5.1 release in the form of system tests. This means you no longer need to configure database cleaning strategies or have webdriver configuration files with hard-to-understand configuration settings.
This article explores how to migrate Feature specs in an existing Rails app to the default System specs.