Watir 6.14 is now available on RubyGems. A couple new methods, a couple bug fixes, a major style overhaul, and a new contributor.
To install:
or in your Gemfile:
Firstly, thanks Jakub Samek for committing to the Watir Project.
Important Updates
- Ruby 2.2 and below are no longer supported, please update to 2.3 or greater
- Element class and attributes are updated to HTML 5.2 and the latest SVG spec
New Methods
Element#located?
will inform a user if the element has merely been defined (lazy loaded), or has a cached driver element assigned to itElement#attribute_list
provides anArray
of attributes for the ELement instanceElement#attribute_values
provides aHash
of attributes and their values for the ELement instance
Bug Fixes
- Fix bug preventing collections from waiting for a parent element
- Fix bug preventing collection elements from being cached
- Fix bug preventing location of elements based on how XPath deals with default namespaces
See the Changelog for the complete history of updates.