Capybara helps you test web applications by simulating how a real user would interact with your app. It is agnostic about the driver running your tests and comes with Rack::Test and Selenium support built in. Webkit is supported through an external gem.
Capybara starts a browser.
This way, you will see what is going on while you do the hacking, and executes without opening any extra windows when you are done and want to use it.
Casiano Rodriguez León 2015-01-07