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#screenshot
API. Browser#execute_script
returns now correct Ruby objects instead ofString
.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 examplebrowser.links.each {|link| puts link.href}
. - Remove already deprecated
Watir::Waiter
. UseWatir::Wait
instead. - Remove already deprecated
WinClicker
. - Remove
Browser#(javascript_)dialog
. UseBrowser#alert
API instead. - Remove
ScreenCapture
module. UseBrowser#screenshot
API instead. - Remove Watir console. Use regular IRB or debugger instead.
- Remove
Watir.log
method,WatirLogger
andDefaultLogger
classes. Use standard Ruby Logger instead. - Remove
Watir.until_with_timeout
. UseWatir::Wait.until
instead.
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