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 ValuePageElementWait's state check functions
Waits for ValuePageElement's actual value not to contain the expected value.
Throws an error if the condition is not met within a specific timeout.
the expected value which is supposed not to be contained in the actual value
includes the timeout
within which the condition is expected to be met and the interval
used to
check it
If no timeout
is specified, ValuePageElement's default timeout is used.
If no interval
is specified, ValuePageElement's default interval is used.
this (an instance of ValuePageElement)
Waits for ValuePageElement not to have any value.
Throws an error if the condition is not met within a specific timeout.
includes the timeout
within which the condition is expected to be met and the interval
used to
check it
If no timeout
is specified, ValuePageElement's default timeout is used.
If no interval
is specified, ValuePageElement's default interval is used.
this (an instance of ValuePageElement)
Waits for ValuePageElement's actual value not to equal the expected value.
Throws an error if the condition is not met within a specific timeout.
the expected value which is supposed not to equal the actual value
includes the timeout
within which the condition is expected to be met and the interval
used to
check it
If no timeout
is specified, ValuePageElement's default timeout is used.
If no interval
is specified, ValuePageElement's default interval is used.
this (an instance of ValuePageElement)
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
Waits for the actual value of the specified HTML attribute of PageElement to contain an expected value.
Throws an error if the condition is not met within a specific timeout.
the specified HTML attribute of PageElement, consisting of the attribute's name and the value it is expected to contain
includes the timeout
within which the condition is expected to be met, the interval
used to
check it and a reverse
flag that, if set to true, checks for the condition NOT to be met instead
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
this (an instance of PageElement)
Waits for the actual value of the PageElement's 'class' HTML attribute to contain an expected value.
Throws an error if the condition is not met within a specific timeout.
the expected value which is supposed to be contained in the actual value of PageElement's HTML 'class' attribute
includes the timeout
within which the condition is expected to be met, the interval
used to
check it and a reverse
flag that, if set to true, checks for the condition NOT to be met instead
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
this (an instance of PageElement)
Waits for PageElement's actual direct text to contain the expected direct text.
Throws an error if the condition is not met within a specific timeout.
A direct text is a text that resides on the level directly below the selected HTML element. It does not include any text of the HTML element's nested children HTML elements.
includes the timeout
within which the condition is expected to be met, the interval
used to
check it and a reverse
flag that, if set to true, checks for the condition NOT to be met instead
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
this (an instance of PageElement)
Waits for PageElement's actual HTML value to contain the expected HTML value.
Throws an error if the condition is not met within a specific timeout.
the expected html which is supposed to be contained in the actual html
includes the timeout
within which the condition is expected to be met, the interval
used to
check it and a reverse
flag that, if set to true, checks for the condition NOT to be met instead
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
this (an instance of PageElement)
Waits for the actual value of PageElement's 'id' HTML attribute to contain an expected value.
Throws an error if the condition is not met within a specific timeout.
the expected value which is supposed to be contained in the actual value of PageElement's HTML 'id' attribute
includes the timeout
within which the condition is expected to be met, the interval
used to
check it and a reverse
flag that, if set to true, checks for the condition NOT to be met instead
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
this (an instance of PageElement)
Waits for the actual value of PageElement's 'name' HTML attribute to contain an expected value.
Throws an error if the condition is not met within a specific timeout.
the expected value which is supposed to be contained in the actual value of PageElement's HTML 'name' attribute
includes the timeout
within which the condition is expected to be met, the interval
used to
check it and a reverse
flag that, if set to true, checks for the condition NOT to be met instead
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
this (an instance of PageElement)
Waits for PageElement's actual text to contain the expected text.
Throws an error if the condition is not met within a specific timeout.
the expected text which is supposed to be contained in the actual text
includes the timeout
within which the condition is expected to be met, the interval
used to
check it and a reverse
flag that, if set to true, checks for the condition NOT to be met instead
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
this (an instance of PageElement)
Waits for ValuePageElement's actual value to contain the expected value.
Throws an error if the condition is not met within a specific timeout.
the expected value which is supposed to be contained in the actual value
includes the timeout
within which the condition is expected to be met, the interval
used to
check it and a reverse
flag that, if set to true, checks for the condition NOT to be met instead
If no timeout
is specified, ValuePageElement's default timeout is used.
If no interval
is specified, ValuePageElement's default interval is used.
this (an instance of ValuePageElement)
Waits for PageElement to exist.
Throws an error if the condition is not met within a specific timeout.
includes the timeout
within which the condition is expected to be met and a reverse
flag that, if
set to true, checks for the condition NOT to be met instead
If no timeout
is specified, PageElement's default timeout is used.
this (an instance of PageElement)
Waits for the actual value of the specified HTML attribute of PageElement to have any value.
Throws an error if the condition is not met within a specific timeout.
the name of a PageElement's HTML attribute which is supposed to have any value
includes the timeout
within which the condition is expected to be met, the interval
used to
check it and a reverse
flag that, if set to true, checks for the condition NOT to be met instead
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
this (an instance of PageElement)
Waits for PageElement's 'class' HTML attribute to have any value.
Throws an error if the condition is not met within a specific timeout.
includes the timeout
within which the condition is expected to be met, the interval
used to
check it and a reverse
flag that, if set to true, checks for the condition NOT to be met instead
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
this (an instance of PageElement)
Waits for PageElement to have any direct text.
Throws an error if the condition is not met within a specific timeout.
A direct text is a text that resides on the level directly below the selected HTML element. It does not include any text of the HTML element's nested children HTML elements.
includes the timeout
within which the condition is expected to be met, the interval
used to
check it and a reverse
flag that, if set to true, checks for the condition NOT to be met instead
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
this (an instance of PageElement)
Waits for PageElement to have any HTML value.
Throws an error if the condition is not met within a specific timeout.
includes the timeout
within which the condition is expected to be met, the interval
used to
check it and a reverse
flag that, if set to true, checks for the condition NOT to be met instead
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
this (an instance of PageElement)
Waits for PageElement's 'id' HTML attribute to have any value.
Throws an error if the condition is not met within a specific timeout.
includes the timeout
within which the condition is expected to be met, the interval
used to
check it and a reverse
flag that, if set to true, checks for the condition NOT to be met instead
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
this (an instance of PageElement)
Waits for PageElement's 'name' HTML attribute to have any value.
Throws an error if the condition is not met within a specific timeout.
includes the timeout
within which the condition is expected to be met, the interval
used to
check it and a reverse
flag that, if set to true, checks for the condition NOT to be met instead
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
this (an instance of PageElement)
Waits for PageElement to have any text.
Throws an error if the condition is not met within a specific timeout.
includes the timeout
within which the condition is expected to be met, the interval
used to
check it and a reverse
flag that, if set to true, checks for the condition NOT to be met instead
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
this (an instance of PageElement)
Waits for ValuePageElement to have any value.
Throws an error if the condition is not met within a specific timeout.
includes the timeout
within which the condition is expected to be met, the interval
used to
check it and a reverse
flag that, if set to true, checks for the condition NOT to be met instead
If no timeout
is specified, ValuePageElement's default timeout is used.
If no interval
is specified, ValuePageElement's default interval is used.
this (an instance of ValuePageElement)
Waits for the actual value of the specified HTML attribute of PageElement to equal an expected value.
Throws an error if the condition is not met within a specific timeout.
the specified HTML attribute of PageElement, consisting of the attribute's name and the value it is expected to have
includes the timeout
within which the condition is expected to be met, the interval
used to
check it and a reverse
flag that, if set to true, checks for the condition NOT to be met instead
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
this (an instance of PageElement)
Waits for the actual value of PageElement's 'class' HTML attribute to equal an expected value.
Throws an error if the condition is not met within a specific timeout.
the expected value which is supposed to equal the actual value of PageElement's HTML 'class' attribute
includes the timeout
within which the condition is expected to be met, the interval
used to
check it and a reverse
flag that, if set to true, checks for the condition NOT to be met instead
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
this (an instance of PageElement)
Waits for PageElement's actual direct text to equal the expected direct text.
Throws an error if the condition is not met within a specific timeout.
A direct text is a text that resides on the level directly below the selected HTML element. It does not include any text of the HTML element's nested children HTML elements.
includes the timeout
within which the condition is expected to be met, the interval
used to
check it and a reverse
flag that, if set to true, checks for the condition NOT to be met instead
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
this (an instance of PageElement)
Waits for PageElement's actual HTML value to equal the expected HTML value.
Throws an error if the condition is not met within a specific timeout.
the expected html which is supposed to equal the actual html
includes the timeout
within which the condition is expected to be met, the interval
used to
check it and a reverse
flag that, if set to true, checks for the condition NOT to be met instead
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
this (an instance of PageElement)
Waits for the height of PageElement to equal the expected height or to deviate no more than the specified tolerance from the expected height.
Throws an error if the condition is not met within a specific timeout.
the expected height of PageElement in pixels
includes the tolerance
used to calculate the maximal allowed deviation from the expected height,
the timeout
within which the condition is expected to be met, the interval
used to
check it and a reverse
flag that, if set to true, checks for the condition NOT to be met instead
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
this (an instance of PageElement)
Waits for the actual value of PageElement's 'id' HTML attribute to equal an expected value.
Throws an error if the condition is not met within a specific timeout.
the expected value which is supposed to equal the actual value of PageElement's 'id' HTML attribute
includes the timeout
within which the condition is expected to be met, the interval
used to
check it and a reverse
flag that, if set to true, checks for the condition NOT to be met instead
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
this (an instance of PageElement)
Waits for the location of PageElement to equal the expected coordinates or to deviate no more than the specified tolerances from the expected coordinates.
Throws an error if the condition is not met within a specific timeout.
the expected coordinates of PageElement in pixels
includes the tolerances
used to calculate the maximal allowed deviations from the expected
coordinates, the timeout
within which the condition is expected to be met, the interval
used to
check it and a reverse
flag that, if set to true, checks for the condition NOT to be met instead
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
this (an instance of PageElement)
Waits for the actual value of PageElement's 'name' HTML attribute to equal an expected value.
Throws an error if the condition is not met within a specific timeout.
the expected value which is supposed to equal the actual value of PageElement's 'name' HTML attribute
includes the timeout
within which the condition is expected to be met, the interval
used to
check it and a reverse
flag that, if set to true, checks for the condition NOT to be met instead
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
this (an instance of PageElement)
Waits for the size of PageElement to equal the expected size or to deviate no more than the specified tolerances from the expected size.
Throws an error if the condition is not met within a specific timeout.
the expected size of PageElement in pixels
includes the tolerances
used to calculate the maximal allowed deviations from the expected size,
the timeout
within which the condition is expected to be met, the interval
used to
check it and a reverse
flag that, if set to true, checks for the condition NOT to be met instead
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
this (an instance of PageElement)
Waits for PageElement's actual text to equal the expected text.
Throws an error if the condition is not met within a specific timeout.
the expected text which is supposed to equal the actual text
includes the timeout
within which the condition is expected to be met, the interval
used to
check it and a reverse
flag that, if set to true, checks for the condition NOT to be met instead
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
this (an instance of PageElement)
Waits for ValuePageElement's actual value to equal the expected value.
Throws an error if the condition is not met within a specific timeout.
the expected value which is supposed to equal the actual value
includes the timeout
within which the condition is expected to be met, the interval
used to
check it and a reverse
flag that, if set to true, checks for the condition NOT to be met instead
If no timeout
is specified, ValuePageElement's default timeout is used.
If no interval
is specified, ValuePageElement's default interval is used.
this (an instance of ValuePageElement)
Waits for the width of PageElement to equal the expected width or to deviate no more than the specified tolerance from the expected width.
Throws an error if the condition is not met within a specific timeout.
the expected width of PageElement in pixels
includes the tolerance
used to calculate the maximal allowed deviation from the expected width,
the timeout
within which the condition is expected to be met, the interval
used to
check it and a reverse
flag that, if set to true, checks for the condition NOT to be met instead
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
this (an instance of PageElement)
Waits for the x-location of PageElement to equal the expected x-location or to deviate no more than the specified tolerance from the expected x-location.
Throws an error if the condition is not met within a specific timeout.
the expected x-location of PageElement in pixels
includes the tolerance
used to calculate the maximal allowed deviation from the expected x-location,
the timeout
within which the condition is expected to be met, the interval
used to
check it and a reverse
flag that, if set to true, checks for the condition NOT to be met instead
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
this (an instance of PageElement)
Waits for the y-location of PageElement to equal the expected y-location or to deviate no more than the specified tolerance from the expected y-location.
Throws an error if the condition is not met within a specific timeout.
the expected y-location of PageElement in pixels
includes the tolerance
used to calculate the maximal allowed deviation from the expected y-location,
the timeout
within which the condition is expected to be met, the interval
used to
check it and a reverse
flag that, if set to true, checks for the condition NOT to be met instead
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
this (an instance of PageElement)
Waits for PageElement to be checked.
Throws an error if the condition is not met within a specific timeout.
includes filterMask
which can be used to skip the invocation of the state check function for
some or all managed PageElements, the timeout
within which the condition is expected to be met, the
interval
used to check it and a reverse
flag that, if set to true, checks for the condition NOT to be met
instead
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
this (an instance of PageElement)
Waits for PageElement to be enabled.
Throws an error if the condition is not met within a specific timeout.
includes filterMask
which can be used to skip the invocation of the state check function for
some or all managed PageElements, the timeout
within which the condition is expected to be met, the
interval
used to check it and a reverse
flag that, if set to true, checks for the condition NOT to be met
instead
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
this (an instance of PageElement)
Waits for PageElement to be selected.
Throws an error if the condition is not met within a specific timeout.
includes filterMask
which can be used to skip the invocation of the state check function for
some or all managed PageElements, the timeout
within which the condition is expected to be met, the
interval
used to check it and a reverse
flag that, if set to true, checks for the condition NOT to be met
instead
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
this (an instance of PageElement)
Waits for PageElement to be visible.
Throws an error if the condition is not met within a specific timeout.
includes filterMask
which can be used to skip the invocation of the state check function for
some or all managed PageElements, the timeout
within which the condition is expected to be met, the
interval
used to check it and a reverse
flag that, if set to true, checks for the condition NOT to be met
instead
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
this (an instance of PageElement)
Wait for PageElement to meet a certain condition.
Throws an error if the condition is not met within a specific timeout.
describes the condition that the PageElement is expected to meet
the function which checks if a certain condition is met
this (an instance of PageElement)
Generated using TypeDoc
This class defines all
wait
functions of ValuePageElement.Store type of the PageNodeStore instance which can be used to retrieve/create PageNodes
PageElementType type of the ValuePageElement for which ValuePageElementWait defines all
wait
functionsValueType the type of ValuePageElement's value