Firewatir has been deprecated. You should use watir-webdriver instead, which can control chrome, firefox and others.
To install:
gem install watir-webdriver
To use:
require 'watir-webdriver'
browser = Watir::Browser.new :firefox # Will open a firefox browser
Note that if you use the watir gem, it supports both IE (using watir-classic) and other browsers (using watir-webdriver). I believe both gems are installed if you did gem install watir
. This means you can do:
require 'watir'
# If you want to use Firefox
browser = Watir::Browser.new :firefox
# If you want to use IE
browser = Watir::Browser.new :ie
If you do not specify a browser the default will be IE on windows and Firefox on other platforms.