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.0 Beta 5

    Written by: Titus Fortner on September 25, 2016

    Watir 6.0 Beta 5 is now available on rubygems! Watir 6.0 depends on Selenium 3.0, and it will have its production release once Selenium 3 is released. We’re continuing to update and simplify the code in the meantime. This release allows elements in collections to be relocated when stale, adds a new visibility locator, and provides updated error messages when unable to locate elements.
    Continue Reading...


  • Podcast Replay Episode 59 - SauceLabs

    Written by: David McNulla on September 23, 2016

    Welcome to the Watir Podcast. In this week’s episode, Neil Manvar from SauceLabs tells us about the advantages of use SauceLabs, how to get started, and what mistakes can lead to trouble. You can listen to this podcast at SoundCloud.
    Continue Reading...


  • Podcast Replay Episode 30 Classic

    Written by: David McNulla on September 15, 2016

    Welcome to the Watir Podcast. We didn’t have a new episode for you so here is one of my favorites from the past, Episode 30 with Gregg Yows, Zeljko Filipin and Jim Knowlton. You can listen to this podcast at SoundCloud.
    Continue Reading...


  • Watir 6.0 Beta 4

    Written by: Titus Fortner on September 12, 2016

    Watir 6.0 Beta 4 is now available on rubygems! Watir 6.0 depends on Selenium 3.0, and it will have its production release once Selenium 3 is released. We’re continuing to update and simplify the code in the meantime. This release adds two new methods and removes two outdated feature toggles.
    Continue Reading...


  • New Podcast Episode 58

    Written by: David McNulla on September 6, 2016

    Welcome to the Watir Podcast Episode 58 with Dave McNulla and Mob Programming expert Woody Zuill. You can listen to the podcast at SoundCloud.
    Continue Reading...


  • New Podcast Episode 57

    Written by: David McNulla on September 1, 2016

    Welcome to the Watir Podcast Episode 57 with Dave McNulla and former Watir Zeljko Filipin. You can listen to the podcast at SoundCloud.
    Continue Reading...


  • Watir Team News

    Written by: Titus Fortner on August 28, 2016

    A warm welcome to several new team members: Alan Baird, Orde Hiller, Bob Lubecker, and Rodney Urquhart
    Continue Reading...


  • New Podcast Episode 56

    Written by: David McNulla on August 24, 2016

    Welcome to the Watir Podcast Episode 56 with Dave McNulla and Watir code monkey and support sheriff Titus Fortner. You can listen to the podcast at SoundCloud.
    Continue Reading...


  • Watir 6.0 Beta

    Written by: Titus Fortner on August 6, 2016

    Watir 6.0 beta is now available on rubygems! This gem is an upgrade to the latest watir-webdriver gem and uses Selenium 3.0 beta. Try it out and let us know what you think.
    Continue Reading...


  • New and Improved Website

    Written by: Titus Fortner on August 4, 2016

    Welcome to the new Watir website! Content from watir.com and watirwebdriver.com has been merged, and both domains will soon be redirected here.
    Continue Reading...


  • Gem Update

    Written by: Titus Fortner on August 2, 2016

    Watir-WebDriver 0.9.2 and 0.9.3 (which is a minor bug fix to 0.9.2) have been released! Alex did some great work on this one, with significant updates to element locator implementation.
    Continue Reading...