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.4K GitHub stars and 230 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 Vidjil, LifeWorks by Morneau Shepell, and Alphaity.
12 developers on StackShare have stated that they use Watir.
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.
- 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?
See all alternatives
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.
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.
Live, Web-Based Browser Testing Instant access to all real mobile and desktop browsers. Say goodbye to your lab of devices and virtual machines.