PageNodeWait defines all wait
functions of PageNode.
PageNode for which PageNodeWait defines all wait
functions
the PageNode for which PageNodeWait defines all wait
functions
returns the negated variants of PageNodeWait's state check functions
Adds a reverse
property to the passed opts parameter and sets its value to true
.
the object which should be extended with a reverse
property
This function waits for an actual value to contain an expected value.
It does so by regularly invoking a condition function until it returns true or until a specific timeout is reached.
A WaitUntilTimeoutError
will be thrown if the condition function's return value does not become true within the
specific timeout.
the name of the property for which the wait condition is performed
the expected value passed to the conditionFunc
a function which compares the actual and the expected value
includes the timeout
within which the condition function is expected to become true, the interval
used to invoke the condition function and a reverse
flag which, if set to true
, negates the result of the
condition function
This function waits for a property to have any value.
It does so by regularly invoking a condition function until it returns true or until a specific timeout is reached.
A WaitUntilTimeoutError
will be thrown if the condition function's return value does not become true within the
specific timeout.
the name of the property for which the wait condition is performed
a function which checks if a property has any value
includes the timeout
within which the condition function is expected to become true, the interval
used to invoke the condition function and a reverse
flag which, if set to true
, negates the result of the
condition function
This function waits for an actual value to have/equal an expected value.
It does so by regularly invoking a condition function until it returns true or until a specific timeout is reached.
A WaitUntilTimeoutError
will be thrown if the condition function's return value does not become true within the
specific timeout.
the name of the property for which the wait condition is performed
the expected value passed to the conditionFunc
a function which compares the actual and the expected value
includes the timeout
within which the condition function is expected to become true, the interval
used to invoke the condition function and a reverse
flag which, if set to true
, negates the result of the
condition function
This function can be used to assemble and execute a wait
state check function
to wait for the value of a certain property of an HMTL element to reach an expected state.
It regularly invokes a condition function until it returns true or until a specific timeout is reached. If an expected value was provided, this value will be passed to the condition function as second parameter.
A WaitUntilTimeoutError
will be thrown if the condition function's return value does not become true within the
specific timeout.
the name of the property for which the wait condition is performed
the type of comparison performed in the conditionFunc
a function which compares an actual with an expected value
the expected value passed to the conditionFunc
This function can be used to assemble and execute a wait
state check function
to wait for an HMTL element to reach an expected state.
It regularly invokes a condition function until it returns true or until a specific timeout is reached.
A WaitUntilTimeoutError
will be thrown if the condition function's return value does not become true within the
specific timeout.
a function which checks if an HTML element has an expected state
a function that returns an errorMessage if the HTML element didn't reach its expected state
This function wraps webdriverio commands that wait for an HTML element to reach a certain state.
It does so by invoking a condition function which checks if a certain condition eventually becomes true within a specific timeout.
A WaitUntilTimeoutError
will be thrown and the PageElement's default timeout will be written to _lastdiff
if the condition function's return value is false
.
describes what kind of check is performed by the condition function
a function that checks if a certain condition is eventually met within a specific timeout
This function waits for an actual value to lie within a certain range of an expected value.
It does so by regularly invoking a condition function until it returns true or until a specific timeout is reached.
A WaitUntilTimeoutError
will be thrown if the condition function's return value does not become true within the
specific timeout.
the name of the property for which the wait condition is performed
the expected value passed to the conditionFunc
a function which compares the actual and the expected value
includes the timeout
within which the condition function is expected to become true, the interval
used to invoke the condition function and a reverse
flag which, if set to true
, negates the result of the
condition function
Generated using TypeDoc
This class defines all
wait
functions of PageElementBase.Store type of the PageNodeStore instance which can be used to retrieve/create PageNodes
PageElementType type of the PageElement for which PageElementBaseWait defines all
wait
functions