..random notes of a tester..

Capybara Tutorial Using Irb

Jun 24th, 2012

At one of my previous projects, a fellow ThoughtWorker named Rob Hunter showed me how to use irb (Interactive Ruby Shell) to play around with a test framework for web applications called Capybara. I’ve found it pretty useful so I figured I’d share it here.

To get started, make sure you have ruby installed. (Below I am using ruby version 1.9.2 and creating a gemset using RVM)