
First of all you need to install Watir-Webdriver gem on your
machine. It’s pretty simple.
Installing
watir-webdriver gem
Open command prompt.
Type “gem install watir-webdriver”
You should see a confirmation message that it is
installed.
Note: If you don’t have selenium-webdriver gem already installed, let
me tell you, water-webdriver has selenium-webdriver as a dependent gem. All the dependent gems for water-webdriver
gem would also get installed automatically when you install watir-webdriver. Remember? In the tutorial Selenium
History, we have seen that water-webdriver implements selenium-webdriver.
This is...