No commit activity in last 3 years
No release in over 3 years
Capybara driver for celerity
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.5
~> 1.0

Runtime

>= 0.4.1
>= 0.7.9
 Project Readme

Capybara Celerity Driver

A driver for Capybara using Celerity. It uses HtmlUnit a browser for Java programs.

NOTE that Celerity only works on JRuby, thus applies to this driver as well.

Install

jruby -S gem install capybara-celerity

Setup

Setup the gem in Your Gemfile:

gem 'capybara-celerity', :platforms => :jruby

Set the driver in Your spec_helper.rb/test_helper.rb:

Capybara.javascript_driver = :celerity

or even better set the driver only for JRuby :

Capybara.javascript_driver = :celerity if defined?(JRUBY_VERSION)

License

Copyright (c) 2011 Gabriel Sobrinho, released under the MIT license.