MechJs
Mechanize has no support for Javascript, this library allows the user to apply standard browser type events, which will trigger a get request
Installation
Add this line to your application's Gemfile:
gem 'mech-js'
And then execute:
$ bundle
Or install it yourself as:
$ gem install mech-js
Usage
require 'mech_js'
Contributing
- Fork it ( https://github.com/[my-github-username]/mech-js/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request