Releases: watir/nerodia
Releases · watir/nerodia
Nerodia 0.14.1
Functionally equivalent to Watir 6.16.5
- Improve collection performance with JavaScript
- Improve performance when using previously located elements
- Fix bug merging scope when locating nested elements with css locator
- Fix bug with IFrame#to_subtype
- Improve performance for nested frames
- Fix bug with nested elements using scopes
Nerodia 0.14.0
Functionally equivalent to Watir 6.16.0
- Fix bug that did not re-locate Stale elements when taking an action on them
- Implement Element#cache= to assign otherwise located Selenium Element to Element
- Allow
class
andclass_name
locators to be used at the same time - Allow
class
locator with empty list value to find all elements without a class attribute - Fix bug that forced nested elements to wait when calling predicate methods
- Locator filtering behavior and Validate class moved into new Matcher classes
- Selector is built on Element initialization rather than during location
- Allow some nested elements to be located with a single XPath call
- Translate and add @p0deje's watir-scroll gem functionality into Nerodia
- Fix bug with #obscured for non-interactive elements
Nerodia 0.13.0
Functionally equivalent to Watir 6.15.0
Updates to make selectors easier to use due to differences between Python and Ruby
- A
dict
may now be passed as an argument to a container. Ifkwargs
are also provided, they will be updated with the givendict
.- Frex:
div({'foo': 'bar'}, spam=ham)
would result in a selector of{'foo': 'bar', 'spam': 'ham'}
- Frex:
- Regex can now be passed in via string instead of requiring compiling ahead of time. The string must be surrounded by
/
.- Frex:
div({'foo': '/bar/'})
would result in a selector of{'foo': re.compile('bar')}
- Frex:
- Custom attributes with underscores are now supported by using two underscores
- Frex: To select a
div
with a attributecustom_attribute
with valuefoo
, the syntax would bediv(custom__attribute='foo')
- Frex: To select a
Nerodia 0.12.1
Fixes breaking functionality of converting kwargs
with underscores to dashes. Frex:
div(custom_attribute=foo)
will now once again look for a custom attribute of custom-attribute
with value foo
In the future, there will be added functionality to allow specifying a custom attribute that has an underscore.
Nerodia 0.12.0
Equivalent to Watir 6.15.0
- Fixed bug where getting a parent defaulted to an index of
0
(#14) - Add Element#selected_text
- Add Element#classes
- Add Element#obscured
- Deprecate #wait_until_present and #wait_until_not_present
- Improved Locator classes to reduce wire calls when using multiple/complex locators
Nerodia 0.11.0
Equivalent to Watir 6.14.0
- HTML Element attribute support updated to HTML 5.2
#wait_until_present
and#wait_until_not_present
now accept custom message arguments- Fix bug preventing collections from waiting for a parent element
- Fix bug preventing collection elements from being cached
- Add
Element#attribute_list
andElement#attribute_values
- Fix bug preventing location of elements based on how XPath deals with default namespaces
Nerodia 0.10.0
Equivalent to Watir 6.13.0
- Allow wait methods to wait for values of any attribute
- Allow locating custom elements with adjacent methods
- Support how latest IEDrivers are handling stale elements
- Restore support for using of previously cached elements in collections
- Fix bug preventing clicking option when select list is not displayed
- Allow elements with content-editable attribute to use UserEditable module methods
Nerodia 0.9.0
Equivalent to Watir 6.12.0
- Python
3.7
is now supported ElementCollection
now supports negative slicing- Fixed
ElementCollection
slice for python3 - Deprecated using
#present
or#visible
to determine if an element is stale - New functionality and presets were added to the
Element#flash
method.- The preset option is now the first argument to the method instead of color, so update accordingly.
- There is an attempt at backwards compatibility but it will be removed soon
- Fix bug preventing text_field from waiting until present
- Fix bug allowing
StaleElementReferenceException
during element location - Add support for Wait methods to receive closures as message values
- Add support to ignore specific warnings logged by Nerodia
- Deprecate locating elements by ordered parameters
- Changed scope for locator namespacing
- Deprecate current implementation of
#visible?
- Update logic
#wait_while_present
and#wait_until_not_present
- Deprecate
#wait_while_present
and#wait_until_not_present
for non-Element classes
Nerodia 0.8.0
- Improve lazy loading of element collections
- Deprecated
to_list
methods in favor oflist(self)
to be more pythonic - Fix regressions in version
0.7.0
- Equivalent to Watir
6.11.0
Nerodia 0.7.0
DateField
andDateTimeField
were added to support the respective HTML5 input typesWait#until_not
is now aliased asWait#whilst
, for British convenience- Options for IE are now processed from Browser init
- Equivalent to Watir
6.10.3