Changelogs » Stere

PyUp Safety actively tracks 281,944 Python packages for vulnerabilities and notifies you when to upgrade.

Stere

0.22.0

Changed
  - Bumped minimum version of py-moneyed to 1.0.
  - 'items' as a keyword is now allowed in Area and RepeatingArea.
  - Missing root keyword in RepeatingArea now throws TypeError instead of ValueError
  
  Fixed
  - Area with no root inside a RepeatingArea should now work correctly.
  - Area with no root inside a Repeating should now work correctly.

0.21.0

Changed
  -  Repeating and RepeatingArea can now be placed inside an Area.

0.20.0

Changed
  -  Stere.retry_time is used when searching for an attribute inside an element.
  -  Nicer error message is thrown when an element is not found while doing an attribute lookup

0.19.0

Changed
  -  is_visible / is_not_visible methods try to handle stale element exceptions by retrying search

0.18.0

Changed
  -  Button and Link Fields wait for visible/clickable status before clicking

0.17.0

Fixed
  - Fields inside an Area with a root now pass wait_time to the root Field.

0.16.0

Changed
  - Field.value_contains and Field.value_equals use Stere.retry_time as a default value
  - Splinter Dropdown.select() retries if value is not found

0.15.0

Changed
  - Speed up is_not_<x> methods. Requires splinter >=0.13.0.

0.14.0

Fixed
  - Repeating.has_children no longer fails if no children found.
  - Repeating.has_children no longer builds a list of children containers, just checks roots.

0.13.0

Added
  - Field.is_<x> and Field.is_not_<x> methods now use Stere.retry_time if not specified.
  - Stere.retry_time can be set through the stere.ini file.
  - Repeating and RepeatingArea now have the has_children() method.
  
  Changed
  - FindByDataStarAttribute renamed to FindByAttribute
  
  Fixed
  - Field.is_present() and Field.is_not_present() now work correctly with FindByAttribute

0.12.0

Fixed
  - Field.is_present() and Field.is_not_present() now work with Fields inside a RepeatingArea

0.11.0

Added
  - Page.page_url now built from Stere.base_url and Page.url_suffix

0.10.0

Changed
  - An Area can now be placed inside a RepeatingArea
  - Areas.containing now accepts nested values
  - Areas.contain now accepts nested values

0.9.0

Added
  - .is_clickable() and .is_not_clickable() are now available for splinter Fields.

0.8.0

Added
  - Added Money Field in Splinter integration. [py-moneyed](https://github.com/limist/py-moneyed) is used to provide functionality.

0.7.0

Added
  - Splinter and Appium Input Fields can now take a default_value parameter
  - Stere.url_navigator has a default value when Splinter is used
  
  Changed
  - If an invalid locator strategy is used, the error message now reports valid strategies

0.6.1

Changed
  - Base Field, Root, and Text now use stere_performer instead of a custom perform method
  
  Fixed
  - Implicit Field calls now work with all Fields

0.6.0

Added
  - Field can take the keyword argument "returns". The object given will be returned after Field.perform() is called
  - Field now executes Field.perform() when called
  
  Changed
  - Stere decorators can now be used by importing Field.decorators

0.5.0

Added
  - Add Field.value_equals() and Field.value_contains() methods
  - Add Areas.containing()
  - Add Repeating class to handle ridiculously nested collections
  
  Changed
  - Deprecated RepeatingArea.area_with()
  - Areas container only accepts Area objects inside it
  
  Fixed
  - FindByDataStarAttribute inherits from SplinterBase

0.4.0

Added
  - Added RepeatingArea.areas.contain() method
  
  Changed
  - RepeatingArea.areas now returns a list-like object instead of a list
  - Page.navigate() returns the Page instance
  
  Fixed
  - If a Field is found multiple times, ensure an error is thrown when Field.find() is used

0.3.0

Added
  - Appium compatibility started
  
  Changed
  - RepeatingArea can now use any Field as a root
  - Root Field no longer overrides Field.find()

0.2.3

Fixed
  - Preserve class name on Fields that implement a performer
  - Fix implementation of is_visible and is_not_visible when using Splinter

0.2.2

Added
  - python 3.7 now supported
  - stere.ini config file can be used to specify automation library
  - Field implements the \__repr__ method
  - RepeatingArea implements the \__len__ method
  
  Changed
  - Splinter specific implementation refactored in Field.find()

0.2.1

Added
  - Area.perform() can now take keyword arguments

0.2.0

Added
  - Page class is now a Context Manager
  - Added is_visible and is_not_visible methods to Field
  - Added CHANGELOG file