If you are installing from behind a proxy, be sure to add the following to the end of any gem install or gem update command:
-p http://your-proxy-server-name:your-proxy-server-port
-p http://proxy:8000
Windows
Watir supports Internet Explorer 5.5, 6 and 7 on Windows 2000, XP, Server 2003 and Vista. Watir also supports Firefox 2 and 3.- Make sure you are logged in as administrator.
- Open command prompt and type:
gem update --system gem install watir
- Beginning with Watir 1.6.0 (Oct 2008), this installs drivers for both
IE and Firefox (FireWatir). Output should be something like this:
C:\Documents and Settings\Administrator\>gem install watir Successfully installed watir-1.5.x Installing ri documentation for watir-1.5.x... Installing RDoc documentation for watir-1.5.x...
- Watir's support for Firefox also requires a plugin.
FireWatir Installation#InstalltheJSSHFirefoxExtension
Mac
Type these commands at a command prompt:sudo gem update --system sudo gem install firewatir sudo gem install safariwatir
FireWatir Installation#InstalltheJSSHFirefoxExtension
Linux
To solve Ubuntu 8.10 gem hassle:http://intertwingly.net/blog/2008/11/23/RubyGems-1-3-1-on-Ubuntu-8-10
Type these commands at a command prompt:
sudo gem update --system sudo gem install firewatir
FireWatir Installation#InstalltheJSSHFirefoxExtension
When you install Watir, you may get an error building the documentation for the Builder gem. You can safely ignore this error. |
Thanks a lot for the details.
ReplyDeletenice!!!!\Thanks
ReplyDelete