@pageobject/predicates
This package provides a collection of useful predicate functions.
Installation
yarn add @pageobject/predicates
API
Please find the API documentation here.
Usage
The result of a predicate function serves as an additional selection criterion for assigning a unique DOM element to a page object.
Example
pageObject.select(OtherPageObject).where(indexEquals(0));
Built by (c) Clemens Akens. Released under the terms of the MIT License.