Hello everyone!
I’m happy to announce that another version of Watir-Classic has just been released - 3.1.0.
Changelog:
- Add
Browser#name, which returns:ie. - Add
Dl#to_hash. - Add support for Alert API.
- Add support for
Browser#screenshotAPI. Browser#execute_scriptreturns now correct Ruby objects instead ofString.Browser#newaccepts ignored parameter to make API more compatible with Watir-WebDriver.Element#drag_and_dropmethods work also with elements not in the viewport.- Fix
TextField#setslow text entry. - Remove all
show_*methods. Use element collection methods with#eachinstead. For examplebrowser.links.each {|link| puts link.href}. - Remove already deprecated
Watir::Waiter. UseWatir::Waitinstead. - Remove already deprecated
WinClicker. - Remove
Browser#(javascript_)dialog. UseBrowser#alertAPI instead. - Remove
ScreenCapturemodule. UseBrowser#screenshotAPI instead. - Remove Watir console. Use regular IRB or debugger instead.
- Remove
Watir.logmethod,WatirLoggerandDefaultLoggerclasses. Use standard Ruby Logger instead. - Remove
Watir.until_with_timeout. UseWatir::Wait.untilinstead.
Please try it out by executing:
gem install watir watir-classic
As usual:
- see all the changes at github.com/watir/watir-classic/commits/master
- updated API documentation is at rubydoc.info/gems/watir-classic
