This package has been deprecated

Author message:

Please use @pageobject/reliable instead.

@pageobject/predicates
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-beta-4 • Public • Published

@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.

Package Sidebar

Install

npm i @pageobject/predicates

Weekly Downloads

1

Version

1.0.0-beta-4

License

MIT

Unpacked Size

37.8 kB

Total Files

10

Last publish

Collaborators

  • clebert