Thursday, August 18, 2011 Migrating from Webrat to Capybara This post is a collection of tips and hints on how to migrate from Webrat to Capybara. I am assuming RSpec syntax in the examples. Installation gem install capybaraor add gem capybara to your Gemfile and run 'bundle'. Complete instructions are provided here Changes in syntaxSelectors for the content of an elementbefore: response.shou