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