====== Using Raakt in HTMLUnit ======
This page is a work in progress. Currently just a collection of notes on how I think Raakt can be called from HTMLUnit tests. I am waiting for a new version of Hpricot for Jruby with a fix for [[http://code.whytheluckystiff.net/hpricot/ticket/68|ticket 68]].
===== Installing stuff =====
==== Download and set up HTMLUnit ====
Follow the instructions at the [[http://htmlunit.sourceforge.net/|HTMLUnit website]]. The binary distribution contains all dependencies for HTMLUnit. Make sure HTMLUnit is working correctly before continuing.
==== Install jruby 0.9.8 or later ====
Follow the instructions on the [[http://www.headius.com/jrubywiki/index.php/Getting_Started|JRuby website]].
==== Install hpricot and Raakt for JRuby ====
Navigate to your jruby installation directory's bin folder and do:
jruby gem install hpricot --source=http://code.whytheluckystiff.net
Install the Raakt gem for jruby:
jruby gem install raakt