1.0.0-beta-4 • Published 6 years ago

@pageobject/predicates v1.0.0-beta-4

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

@pageobject/predicates Package Version Build Status Coverage Status

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.