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
2992664
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
2493
Forks
317
Development activity
Less active
Last commit
2015-01-31 23:21:44 UTC

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
11510789
Releases
45
Current Version
2.4.4
Released
2014-10-13 00:00:00 UTC
First Release
2009-11-18 23:00:00 UTC

Github jnicklas/capybara

Watchers
5635
Forks
861
Development activity
Less active
Last commit
2014-10-23 19:10:37 UTC
Contributors
30
Issues

capybara-webkit

Headless Webkit driver for Capybara

Rubygem capybara-webkit

Total Downloads
1791722
Releases
41
Current Version
1.5.1
Released
2015-04-23 00:00:00 UTC
First Release
2011-04-06 04:00:00 UTC

Github thoughtbot/capybara-webkit

Watchers
1418
Forks
340
Development activity
Less active
Last commit
2014-12-17 15:10:49 UTC
×

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.