Recently, we updated the Watir website to be hosted on GitHub Pages. The existing watir.com and watirwebdriver.com sites will no longer be maintained, but most if not all of the information currently on them has been transferred over to the new site. Check it out at watir.github.io
watirwebdriver.com now redirects to this new site, and soon watir.github.io will become watir.com.
Watir, pronounced water, is an open-source (BSD) family of Ruby libraries for automating web browsers. It allows you to write tests that are easy to read and maintain. It is simple and flexible.
Watir drives browsers the same way people do. It clicks links, fills in forms, presses buttons. Watir also checks results, such as whether expected text appears on the page.
Watir is a family of Ruby libraries but it supports your app no matter what technology it is developed in. Whilst Watir supports only Internet Explorer on Windows, Watir-WebDriver supports Chrome, Firefox, Internet Explorer, Opera and also running in headless mode (HTMLUnit).
Like other programming languages, Ruby gives you the power to connect to databases, read data files and spreadsheets, export XML, and structure your code as reusable libraries. Unlike other programming languages, Ruby is concise and often a joy to read.
- It’s a free Open Source tool. There are no costs to use the tool.
- There’s a very active and growing community behind it.
- It uses Ruby, a full-featured modern scripting language, rather than a proprietary vendorscript.
- It supports your web app no matter what it is developed in.
- It supports multiple browsers on different platforms.
- It is powerful and easy to use, yet beautifully lightweight.
- Don’t just take our word for it, see some awesome quotes below and install Watir.
“Watir Rocks! Truly awesome!!”—Shashank Date
“Watir is the most compelling alternative [to Fit] for filling the automated acceptance testing need.”—Ward Cunningham
“I have limited scripting experience and none with Ruby, but I was able to follow your examples and be productive in short order.”—Kevin Sheehy
“I’ve been trying to find the Holy Grail of Automated Web UI Testing… And the one I’m currently enamored with is Watir.”—Scott Hanselman
“I wanted to run around my office dancing and celebrating.”—Beth Ferguson
Some Watir users include (sorted alphabetically):
If you would like to add your company to the list send us a logo (150×51), link to the home page and (if possible) a link to the page that says you are using Watir.