Introduccion

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.

The good thing about it, is that you can use selenium backend while you work on your script, and switch over to Phantomjs when it’s done.

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