Watir-Classic 3.1.0 Released!

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:

2 thoughts on “Watir-Classic 3.1.0 Released!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s