25
38
+ 1
0

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.5K GitHub stars and 247 GitHub forks. Here’s a link to Watir's open source repository on GitHub

Who uses Watir?

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

Developers
22 developers on StackShare have stated that they use Watir.

Watir Integrations

Python, Ruby, Rails, Selenium, and Applitools are some of the popular tools that integrate with Watir. Here's a list of all 6 tools that integrate with Watir.
Decisions about Watir

Here are some stack decisions, common use cases and reviews by companies and developers who chose Watir in their tech stack.

Binson T. Mathew
Software Engineer at Innovature labs · | 2 upvotes · 18.9K views
Needs advice
on
CapybaraCapybara
and
WatirWatir

I want to open a page from the Presigned S3 URL. But while using Watir and Selenium am unable to do this. Is there any solution.?

See more

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
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
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
PhantomJS is a headless WebKit scriptable with JavaScript. It is used by hundreds of developers and dozens of organizations for web-related development workflow.
Protractor
Protractor is an end-to-end test framework for Angular and AngularJS applications. Protractor runs tests against your application running in a real browser, interacting with it as a user would.
Git
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
See all alternatives

Watir's Followers
38 developers follow Watir to keep up with related blogs and decisions.