Steps to get FireWatir running on Ubuntu
All steps are performed in the command line unless otherwise noted.
Install Ruby and Rubygems
sudo apt-get install ruby
sudo apt-get install rubygems
Install the FireWatir Gem
sudo gem update --system
sudo gem install firewatir
Install the Firefox Add-On
- Start Firefox, then click this link. Agree to installation.
- Restart Firefox to complete installation
Run Unit Tests
To check everything worked ok, you should run the unit tests provided with FireWatir
cd ../../var/lib/gems/1.8/gems/firewatir-1.2.0/unittests
sudo ruby mozilla_all_tests.rb
Firefox should start and tests should start running.