Installation

Just install the rubocop-capybara gem

gem install rubocop-capybara

or if you use bundler put this in your Gemfile

gem 'rubocop-capybara'