From: Jarmo Pertman Date: 2012-04-24T03:56:53+09:00 Subject: Watir 3 Released! Hello everyone! I'm happy to announce that Watir 3 has been finally released! Its biggest goal is to conform even better with WatirSpec making it more compliant with Watir-WebDriver. Changelog is quite long, but reading it makes your life easier: * Browser#status returns an empty string if status bar is disabled in IE9 * Browser#style fixed for IE9 * #execute_script evaluates JavaScript code inside of an anonymous function - use "return" statement if value is needed by Ruby * #execute_script returns nil instead of 'undefined' * drag and drop fixed for IE9 * Window#current? and Window#== are more robust * all html elements are now supported (even html5 ones) * CookieManager removed * cookies API support added (https://github.com/watir/watirspec/blob/master/cookies_spec.rb) * drag and drop API support added (https://github.com/watir/watirspec/blob/master/drag_and_drop_spec.rb) * Element#(before|after)? removed * Element#(before|after)_text removed * Browser#cell(s) and Browser#row(s) removed * Browser#Element camelCase methods removed, use under_score methods instead * Browser#element(s) supports only general attributes like :id, :title, :class_name, :text, :html and such * Browser#modal_dialog improved * Browser#send_keys and Element#send_keys have now same syntax as specified in WatirSpec * Element#style returns internal styles only for IE9, inline style will be returned for IE8 * Table#each removed - use Table#(trs|rows).each instead * Table#row(s) and Table#cell(s) added which ignore inner tables - use #td/#tr for all. * raise an Exception if more locators are specified with :xpath/:css * searching by :xpath and :css code rewritten * Browser#textarea(s) method for searching