Need advice about which tool to choose?Ask the StackShare community!

Selenium

12.4K
9.7K
+ 1
518
Watir

24
32
+ 1
0
Add tool

Selenium vs Watir: What are the differences?

Developers describe Selenium as "Web Browser Automation". 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. 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….

Selenium and Watir belong to "Browser Testing" category of the tech stack.

Selenium is an open source tool with 15.3K GitHub stars and 5.05K GitHub forks. Here's a link to Selenium's open source repository on GitHub.

Advice on Selenium and Watir
Needs advice
on
WebdriverIOWebdriverIOSeleniumSelenium
and
JestJest
in

we are having one web application developed in Reacts.js. in the application, we have only 4 to 5 pages that we need to test. I am having experience in selenium with java. Please suggets which tool I should use. and why ............................ ............................ .............................

See more
Replies (1)
Prashanth Marappa
Senior Software Engineer at Mphasis · | 1 upvotes · 135.4K views
Recommends
SeleniumSelenium

with the help of selenium we can automate react js for functional testing

See more
Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Selenium
Pros of Watir
  • 170
    Automates browsers
  • 153
    Testing
  • 101
    Essential tool for running test automation
  • 24
    Record-Playback
  • 23
    Remote Control
  • 8
    Data crawling
  • 7
    Supports end to end testing
  • 6
    Functional testing
  • 6
    Easy set up
  • 4
    The Most flexible monitoring system
  • 3
    Easy to integrate with build tools
  • 3
    End to End Testing
  • 2
    Integration Tests
  • 2
    Comparing the performance selenium is faster than jasm
  • 2
    Record and playback
  • 2
    Compatible with Python
  • 2
    Easy to scale
  • 0
    Integrated into Selenium-Jupiter framework
    Be the first to leave a pro

    Sign up to add or upvote prosMake informed product decisions

    Cons of Selenium
    Cons of Watir
    • 8
      Flaky tests
    • 3
      Slow as needs to make browser (even with no gui)
      Be the first to leave a con

      Sign up to add or upvote consMake informed product decisions

      What is 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.

      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…

      Need advice about which tool to choose?Ask the StackShare community!

      Jobs that mention Selenium and Watir as a desired skillset
      CBRE
      Narva, Ida-Virumaa, Estonia
      What companies use Selenium?
      What companies use Watir?
      See which teams inside your own company are using Selenium or Watir.
      Sign up for Private StackShareLearn More

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with Selenium?
      What tools integrate with Watir?

      Sign up to get full access to all the tool integrationsMake informed product decisions

      Blog Posts

      What are some alternatives to Selenium and Watir?
      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.
      Cypress
      Cypress is a front end automated testing application created for the modern web. Cypress is built on a new architecture and runs in the same run-loop as the application being tested. As a result Cypress provides better, faster, and more reliable testing for anything that runs in a browser. Cypress works on any front-end framework or website.
      Nightwatchjs
      Nightwatch.js is an easy to use Node.js based End-to-End (E2E) testing solution for browser based apps and websites. It uses the powerful Selenium WebDriver API to perform commands and assertions on DOM elements.
      Puppeteer
      Puppeteer is a Node library which provides a high-level API to control headless Chrome over the DevTools Protocol. It can also be configured to use full (non-headless) Chrome.
      Cucumber
      Cucumber is a tool that supports Behaviour-Driven Development (BDD) - a software development process that aims to enhance software quality and reduce maintenance costs.
      See all alternatives