Watir on WebDriver
by Željko Filipin
Update!
Instructions on this page are obsolete. Please find up to date detailed instructions for Windows, Mac and Linux in my watir book.
Jari Bakken just released Watir on WebDriver.
Windows
One-Click Installer (old)
On Windows, install it with
and use it with
Supported browsers are Internet Explorer (:ie
, :internet_explorer
), Firefox (:ff
, :firefox
), Chrome (:chrome
) and RemoteWebDriver Server (:remote
).
RubyInstaller
Install RubyInstaller, DevKit and all required gems and it just works!
Mac
My Mac came with Ruby and RubyGems installed, so it was just:
Linux
Ubuntu
My Ubuntu did not have Ruby and RubyGems installed.
Install Ruby with:
You can install RubyGems with:
but Jari said it would be better to install it from source. Downland the latest RubyGems tgz or zip file (rubygems-1.3.5.tgz and rubygems-1.3.5.zip at the moment), extract it, open Terminal in extracted folder and run:
Install watir-webdriver:
Fedora
Please see Installing Watir-Web Driver on Fedora Linux
tags: code - ruby