Using capybara as a javascript capable replacement for Mechanize

Submitted by Christoph Olszowka 2012-01-30 18:58:52 UTC
Source:  http://www.chadcf.com/blog/using-capybara-javascript-capable-replacement-mechanize

Referenced projects

Mechanize

The Mechanize library is used for automating interaction with websites. Mechanize automatically stores and sends cookies, follows redirects, and can follow links and submit forms. Form fields can be populated and submitted. Mechanize also keeps track of the sites that you have visited as a history.

Rubygem mechanize

Total Downloads
2000900
Releases
74
Current Version
2.7.3
Released
2013-11-14 00:00:00 UTC
First Release
2005-01-26 05:00:00 UTC

Github sparklemotion/mechanize

Watchers
1779
Forks
254
Development activity
Less active
Last commit
2014-01-17 04:05:56 UTC
Contributors
75
Issues
Wiki pages

Capybara

Capybara is an integration testing tool for rack based web applications. It simulates how a user would interact with a website

Rubygem capybara

Total Downloads
7095986
Releases
39
Current Version
2.2.1
Released
2014-01-06 00:00:00 UTC
First Release
2009-11-18 23:00:00 UTC

Github jnicklas/capybara

Watchers
4330
Forks
742
Development activity
Less active
Last commit
2014-01-08 16:12:11 UTC
Contributors
165
Issues

capybara-webkit

Headless Webkit driver for Capybara

Rubygem capybara-webkit

Total Downloads
1124787
Releases
34
Current Version
0.13.2
Released
2014-01-03 00:00:00 UTC
First Release
2011-04-06 04:00:00 UTC

Github thoughtbot/capybara-webkit

Watchers
1251
Forks
307
Development activity
Less active
Last commit
2014-01-29 03:04:23 UTC
Contributors
87
Issues
Wiki pages
×

In order to continue, you must be signed in using your Github account.

If you're signing in using this account for the first time Github will ask for your permission to give access to your public user data to the Ruby Toolbox.

Although the Github Authorization page does not mention it, the request includes read-only access to your verified email address (user:email OAuth scope). This is neccessary so there's a way to notify you about comments, information about your accepted project edits and the like. You can review your notification settings on your account page once you're signed in.