Watir-Classic 3.1.0 Released!

Written by: bpettichord on August 22, 2012

Water Bomber

Hello everyone!

I’m happy to announce that another version of Watir-Classic has just been released - 3.1.0.


  • Add Browser#name, which returns :ie.
  • Add Dl#to_hash.
  • Add support for Alert API.
  • Add support for Browser#screenshot API.
  • Browser#execute_script returns now correct Ruby objects instead of String.
  • Browser#new accepts ignored parameter to make API more compatible with Watir-WebDriver.
  • Element#drag_and_drop methods work also with elements not in the viewport.
  • Fix TextField#set slow text entry.
  • Remove all show_* methods. Use element collection methods with #each instead. For example browser.links.each {|link| puts link.href}.
  • Remove already deprecated Watir::Waiter. Use Watir::Wait instead.
  • Remove already deprecated WinClicker.
  • Remove Browser#(javascript_)dialog. Use Browser#alert API instead.
  • Remove ScreenCapture module. Use Browser#screenshot API instead.
  • Remove Watir console. Use regular IRB or debugger instead.
  • Remove Watir.log method, WatirLogger and DefaultLogger classes. Use standard Ruby Logger instead.
  • Remove Watir.until_with_timeout. Use Watir::Wait.until instead.

Please try it out by executing: gem install watir watir-classic

As usual: