Watir is...

An open source Ruby library for automating tests. Watir interacts with a browser the same way people do: clicking links, filling out forms and validating text.

browser = Watir::Browser.new :chrome

browser.goto 'google.com'
browser.text_field(title: 'Search').set 'Hello World!'
browser.button(type: 'submit').click

puts browser.title
# => 'Hello World! - Google Search'
browser.quit
  • Watir 6.10 Released!

    Written by: Titus Fortner on November 23, 2017

    Watir 6.10.0 is now available on RubyGems! It features a new locator and other element location improvements.
    Continue Reading...


  • Watir 6.9 Released!

    Written by: Titus Fortner on November 18, 2017

    Watir 6.9.0 is now available on RubyGems! Several minor features and bug fixes from several new committers.
    Continue Reading...


  • Watigiri

    Written by: Titus Fortner on September 7, 2017

    The initial version of the Watigiri gem has just been released. Watigiri is an add-on to Watir that allows actions to be taken using Nokogiri (an HTML parser that uses native C or Java libraries) instead of Selenium in the places it makes sense to do so.
    Continue Reading...


  • Watir 6.8 Released!

    Written by: Titus Fortner on August 29, 2017

    Watir 6.8.0 is now available on RubyGems! Several new features including new methods to increase performance.
    Continue Reading...


  • Ruby Open Source Testing Code Hackathon

    Written by: Titus Fortner on August 24, 2017

    Join us September 22 & 23 in Toronto and help us shape the future of functional UI testing in Ruby.
    Continue Reading...


  • Watir 6.7 Released!

    Written by: Titus Fortner on August 14, 2017

    Watir 6.7.0 is now available on RubyGems! A bunch of new features.
    Continue Reading...


  • Updated Guides and Request for Help

    Written by: Titus Fortner on August 10, 2017

    Guides for Getting Started, Working with Different Browsers, and Working with Elements have been updated. Please help review the information there or help us with updates on the remaining pages.
    Continue Reading...


  • Watir 6.6 Released!

    Written by: Titus Fortner on August 1, 2017

    Watir 6.6.0 is now available on RubyGems! We’ve added several more exciting features.
    Continue Reading...


  • Watir 6.5 Released!

    Written by: Titus Fortner on July 25, 2017

    Watir 6.5.0 is now available on RubyGems! We’ve added an exciting new locator feature.
    Continue Reading...


  • Watir 6.4.0

    Written by: Titus Fortner on July 11, 2017

    Watir 6.4.0 is now available on RubyGems. Speed up your tests with the latest code. Our beta testers have reported speed improvements of 5-15% locally and 20-40% when executing on a remote server.
    Continue Reading...


  • Watir 6.4 Release Candidate

    Written by: Titus Fortner on June 20, 2017

    Watir 6.4.0.rc1 is now available on RubyGems. This is the performance release you didn’t realize you’ve been waiting for. Please help us test this new code before the official release.
    Continue Reading...


  • Watir 6.3 Released!

    Written by: Titus Fortner on June 20, 2017

    Watir 6.3.0 is now available on RubyGems! A few fun new features have been added for this release.
    Continue Reading...


  • Browser automation with Watir - guide for testers

    Written by: Maciej Stanisz on April 27, 2017

    I have recently written an introduction to Watir for testers who have hardly any experience with test automation.
    Continue Reading...


  • Watir 6.2 Released!

    Written by: Titus Fortner on February 20, 2017

    Watir 6.2.0 is now available on RubyGems! Several exciting new features have been added for this release.
    Continue Reading...


  • Podcast Episode 68 - Chris McMahon of SalesForce.Org

    Written by: David McNulla on January 22, 2017

    Welcome to the Watir Podcast. In this episode of the Watir Podcast, we talk to Chris McMahon, an experience Watir developer that (may have been) was the first watir tester to use it in production. You can listen to this podcast at SoundCloud.
    Continue Reading...


  • Podcast Episode 67 - Mark Barzilay of SpriteCloud

    Written by: David McNulla on January 12, 2017

    Welcome to the Watir Podcast. In this episode of the Watir Podcast, we talk to Mark Barzilay, developer are SpriteCloud about how they use their library Lapis_Lazuli to support their automation development and how it can help you too. You can listen to this podcast at SoundCloud.
    Continue Reading...


  • Watir 6.1 Released!

    Written by: Titus Fortner on January 4, 2017

    Watir 6.1 is now available on RubyGems! In addition to Ruby 2.4 support we’ve added a couple new features and bug fixes.
    Continue Reading...


  • More news...