@pageobject/base
A declarative API as a basis for platform- and framework-independent UI test automation.
This package is part of PageObjectJS.
Installation
yarn add @pageobject/base
API documentation
Please find the API documentation here.
Copyright (c) 2017-present, Clemens Akens. Released under the terms of the MIT License.
Type aliases
ConditionalTestCallback
ConditionalTestCallback: function
TestCallback
TestCallback: function
Type declaration
-
- (test: Test, context: TContext): void
TestStep
TestStep: function
Functions
reliable
- reliable(testStep: TestStep, retryOnError: boolean, timeoutInSeconds: number, customMessage?: undefined | string): TestStep
-
Parameters
-
-
retryOnError: boolean
-
timeoutInSeconds: number
-
Optional customMessage: undefined | string
runAll
- runAll(testSteps: TestStep[]): Promise<void>
-
Parameters
Returns Promise<void>
serialize
- serialize(value: any): string
-
Parameters
Returns string