Remote Control Firefox

Using both JSSH and FireWatir you can remote control Firefox browser and do complex web tasks which can't normally do. Here is the guide on how to get started.

Install JSSH for Firefox 3

Visit OpenQA JSSH installation page to install JSSH.

Install Ruby FireWatir

sudo gem install firewatir

Test FireWatir

Copy following code into some ruby file and execute the file to test the setup.

require 'rubygems'
require 'firewatir'
include FireWatir

ff = Firefox.new
ff.goto("yahoo.com")
ff.close

No comments: