WebdriverIO vs Watir: What are the differences?
Developers describe WebdriverIO as "Webdriver/Selenium 2.0 JavaScript bindings for Node.js". WebdriverIO lets you control a browser or a mobile application with just a few lines of code. Your test code will look simple, concise and easy to read. On the other hand, Watir is detailed as "Selenium abstraction in ruby". 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….
WebdriverIO and Watir can be primarily classified as "Browser Testing" tools.
Some of the features offered by WebdriverIO are:
- Extendable
- Support for the WebDriver specification as well as to Appium
- Easy Test Setup
On the other hand, Watir provides the following key 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.
WebdriverIO is an open source tool with 5.12K GitHub stars and 1.48K GitHub forks. Here's a link to WebdriverIO's open source repository on GitHub.