Skip to content
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


=begin rdoc
Introducing ChromeWatir - An implementation of Watir API for Google Chrome browser.

To Install ruby:
   The instructions to install ruby must be available in the website. Once you install check the installation
   by typing > ruby -v in the commandline which should give the version number of ruby.

To Install ChromeWatir:
   Best way to install is to use the gem. You can download the gem from Google code project

   From your command line:
     > gem install chrome_watir

Where To Use:
   chrome_watir works on Windows. It has been tested on XP with Google Chrome.
   If you have watir or firewatir scripts you must be able to use those on ChromeWatir by making a
   few changes.
User Guide:

Testing chrome-watir:
   Run the unit tests in a cmd shell. Go to the dir where you installed it and then type 'ruby test/<testname.rb>'.
   The unit test uses a sample html pages to run the tests which are packaged with the gem. 

Typical Usage
   # include the controller
   require "chrome_watir"
   # create an instance of the controller
   browser =
   #Goto Google application advanced search page
   browser.goto '', "Advanced Search").click
   #search for watir, ruby or testing
   browser.text_field(:id, "as_oq0").set "watir"
   browser.text_field(:id, "as_oq1").set "ruby"
   browser.text_field(:id, "as_oq2").set "testing", "ss").set
   browser.button(:value, "Advanced Search").click   

  Please refer the wiki or the typical usage in readme.
  ChromeWatir is a growing project. This is an initial release and there are lots of things planned for future release.
  If you find a defect or want to help out, please let us know.

   Sai Venkatakrishnan (
   jijesh Mohan (


A Watir Driver for Google Chrome




No releases published
You can’t perform that action at this time.