+ 1

What is Watir?

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…
Watir is a tool in the Browser Testing category of a tech stack.
Watir is an open source tool with 1.3K GitHub stars and 220 GitHub forks. Here’s a link to Watir's open source repository on GitHub

Who uses Watir?

3 companies reportedly use Watir in their tech stacks, including Alphaity, Vidjil, and LifeWorks by Morneau Shepell.


Watir Integrations

Python, Ruby, Rails, Selenium, and CrossBrowserTesting are some of the popular tools that integrate with Watir. Here's a list of all 5 tools that integrate with Watir.

Why developers like Watir?

Here’s a list of reasons why companies and developers use Watir
Top Reasons
Be the first to leave a pro

Watir's Features

  • The test scripts are written in Ruby language
  • It supports multiple domains and has a test recorder
  • It can find elements by its name, index, ID or value.

Watir Alternatives & Comparisons

What are some alternatives to Watir?
Selenium automates browsers. That's it! What you do with that power is entirely up to you. Primarily, it is for automating web applications for testing purposes, but is certainly not limited to just that. Boring web-based administration tasks can (and should!) also be automated as well.
Capybara helps you test web applications by simulating how a real user would interact with your app. It is agnostic about the driver running your tests and comes with Rack::Test and Selenium support built in. WebKit is supported through an external gem.
PhantomJS (www.phantomjs.org) is a headless WebKit scriptable with JavaScript. It is used by hundreds of developers and dozens of organizations for web-related development workflow.
Live, Web-Based Browser Testing Instant access to all real mobile and desktop browsers. Say goodbye to your lab of devices and virtual machines.
Karma is not a testing framework, nor an assertion library. Karma just launches a HTTP server, and generates the test runner HTML file you probably already know from your favourite testing framework. So for testing purposes you can use pretty much anything you like.
See all alternatives

Watir's Followers
3 developers follow Watir to keep up with related blogs and decisions.
Gaurav Manchanda
Siddharth Pandey