Is there any more documentation on the Screenshot API besides the Spec? On Monday, August 20, 2012 7:31:11 AM UTC-4, Jarmo Pertman wrote: > > 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 ( > https://github.com/watir/watirspec/blob/master/alert_spec.rb). > * Add support for Browser#screenshot API ( > https://github.com/watir/watirspec/blob/master/screenshot_spec.rb). > * 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 > > With best regards, > Jarmo Pertman >
-- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
