Checks if the PageElement is currently checked.
Checks if the PageElement is currently enabled.
Checks if the PageElement is currently selected.
Checks if the PageElement is currently visible.
Checks if the specified HTML attribute of PageElement currently contains the expected value.
the specified HTML attribute of PageElement, consisting of the attribute's name and the value it is expected to contain
Checks if the 'class' HTML attribute of PageElement currently contains the specified className.
the className which the 'class' HTML attribute of PageElement is supposed to contain
Checks if the PageElement currently contains the specified HTML.
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.
the directText which the PageElement is supposed to contain
Checks if the PageElement currently contains the specified HTML.
the HTML which the PageElement is supposed to contain
Checks if the 'id' HTML attribute of PageElement currently contains the specified value.
the value which the 'id' HTML attribute of PageElement is supposed to contain
Checks if the 'name' HTML attribute of PageElement currently contains the specified value.
the value which the 'name' HTML attribute of PageElement is supposed to contain
Checks if the PageElement currently contains the specified text.
the text which the PageElement is supposed to contain
Checks if the PageElement eventually becomes checked 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, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
Checks if the PageElement eventually becomes enabled within a specific timeout.
Includes the timeout
within which the condition is expected to be met.
If no timeout
is specified, PageElement's default timeout is used.
Checks if the PageElement eventually becomes selected within a specific timeout.
Includes the timeout
within which the condition is expected to be met.
If no timeout
is specified, PageElement's default timeout is used.
Checks if the PageElement eventually becomes visible within a specific timeout.
Includes the timeout
within which the condition is expected to be met.
If no timeout
is specified, PageElement's default timeout is used.
Checks if the specified HTML attribute of PageElement eventually contains the expected value 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 and the interval
used to
check it.
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
Checks if the 'class' HTML attribute of PageElement eventually contains the specified className within a specific timeout.
the className which the 'class' HTML attribute of PageElement is supposed to contain
Includes the timeout
within which the condition is expected to be met and the interval
used to
check it.
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
Checks if the PageElement eventually contains the specified direct text 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.
the direct text which the PageElement is supposed to contain
Includes the timeout
within which the condition is expected to be met and the interval
used to
check it.
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
Checks if the PageElement eventually contains the specified HTML within a specific timeout.
the HTML which the PageElement is supposed to contain
Includes the timeout
within which the condition is expected to be met and the interval
used to
check it.
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
Checks if the 'id' HTML attribute of PageElement eventually contains the specified value within a specific timeout.
the value which the 'id' HTML attribute of PageElement is supposed to contain
Includes the timeout
within which the condition is expected to be met and the interval
used to
check it.
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
Checks if the 'name' HTML attribute of PageElement eventually contains the specified value 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, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
Checks if the PageElement eventually contains the specified text within a specific timeout.
the text which the PageElement is supposed to contain
Includes the timeout
within which the condition is expected to be met and the interval
used to
check it.
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
Checks if the PageElement eventually exists within a specific timeout.
Includes the timeout
within which the condition is expected to be met.
If no timeout
is specified, PageElement's default timeout is used.
Checks if the HTML attribute with the specified attributeName of PageElement eventually has any value within a specific timeout.
the specified attributeName of an HTML attribute of PageElement which is supposed to have any 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, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
Checks if the 'class' HTML attribute of PageElement eventually has any className 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, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
Checks if the PageElement eventually has any direct text 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 and the interval
used to
check it.
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
Checks if the PageElement eventually has any HTML 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, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
Checks if the 'id' HTML attribute of PageElement eventually has any value 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, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
Checks if the 'name' HTML attribute of PageElement eventually has any value 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, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
Checks if the PageElement eventually has any text 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, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
Checks if the specified HTML attribute of PageElement eventually has the expected value 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 and the interval
used to
check it.
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
Checks if the 'class' HTML attribute of PageElement eventually has the specified className within a specific timeout.
the className which the 'class' HTML attribute of PageElement is supposed to have
Includes the timeout
within which the condition is expected to be met and the interval
used to
check it.
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
Checks if the PageElement eventually has the specified direct text 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.
the direct text which the PageElement is supposed to have
Includes the timeout
within which the condition is expected to be met and the interval
used to
check it.
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
Checks if the PageElement eventually has the specified HTML within a specific timeout.
the HTML which the PageElement is supposed to have
Includes the timeout
within which the condition is expected to be met and the interval
used to
check it.
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
Checks if - eventually within a specific timeout - the height of PageElement matches the specified height or if PageElement's height deviates no more than the specified tolerance from the specified height.
the expected height of PageElement
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 and the interval
used to check it.
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
Checks if the 'id' HTML attribute of PageElement eventually has the specified value within a specific timeout.
the value which the 'id' HTML attribute of PageElement is supposed to have
Includes the timeout
within which the condition is expected to be met and the interval
used to
check it.
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
Checks if - eventually within a specific timeout - the location of PageElement matches the specified coordinates or if its location deviates no more than the specified tolerances from the specified coordinates.
the expected coordinates of PageElement
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 and the interval
used to check it.
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
Checks if the 'name' HTML attribute of PageElement eventually has the specified value 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, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
Checks if - eventually within a specific timeout - the size of PageElement matches the specified size or if PageElement's size deviates no more than the specified tolerances from the specified size.
the expected size of PageElement
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 and the interval
used to check it.
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
Checks if the PageElement eventually has the specified text within a specific timeout.
the text which the PageElement is supposed to have
Includes the timeout
within which the condition is expected to be met and the interval
used to
check it.
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
Checks if - eventually within a specific timeout - the width of PageElement matches the specified width or if PageElement's width deviates no more than the specified tolerance from the specified width.
the expected width of PageElement
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 and the interval
used to check it.
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
Checks if - eventually within a specific timeout - the x-location of PageElement matches the specified x-location or if PageElement's x-location deviates no more than the specified tolerance from the specified x-location.
the expected x-location of PageElement
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 and the interval
used to check it.
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
Checks if - eventually within a specific timeout - the y-location of PageElement matches the specified y-location or if PageElement's y-location deviates no more than the specified tolerance from the specified y-location.
the expected y-location of PageElement
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 and the interval
used to check it.
If no timeout
is specified, PageElement's default timeout is used.
If no interval
is specified, PageElement's default interval is used.
Checks if the PageElement currently exists.
Checks if the HTML attribute with the specified attributeName of PageElement currently has any value.
the specified attributeName of an HTML attribute of PageElement which is supposed to have any value
Checks if the 'class' HTML attribute of PageElement currently has any className.
Checks if the PageElement currently has any direct text.
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.
Checks if the PageElement currently has any HTML.
Checks if the 'id' HTML attribute of PageElement currently has any value.
Checks if the 'name' HTML attribute of PageElement currently has any value.
Checks if the PageElement currently has any text.
Checks if the specified HTML attribute of PageElement currently has the expected value.
the specified HTML attribute of PageElement, consisting of the attribute's name and the value it is expected to have
Checks if the 'class' HTML attribute of PageElement currently has the specified className.
the className which the 'class' HTML attribute of PageElement is supposed to have
Checks if the PageElement currently has the specified text.
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.
the directText which the PageElement is supposed to have
Checks if the PageElement currently has the specified HTML.
the HTML which the PageElement is supposed to have
Checks if - currently - the height of PageElement matches the specified height or if PageElement's height deviates no more than the specified tolerance from the specified height.
the expected height of PageElement
used to calculate the maximal allowed deviation from the expected height
Checks if the 'id' HTML attribute of PageElement currently has the specified value.
the value which the 'id' HTML attribute of PageElement is supposed to have
Checks if - currently - the location of PageElement matches the specified coordinates or if its location deviates no more than the specified tolerances from the specified coordinates.
the expected coordinates of PageElement
used to calculate the maximal allowed deviations from the expected coordinates
Checks if the 'name' HTML attribute of PageElement currently has the specified value.
the value which the 'name' HTML attribute of PageElement is supposed to have
Checks if - currently - the size of PageElement matches the specified size or if PageElement's size deviates no more than the specified tolerances from the specified size.
the expected size of PageElement
used to calculate the maximal allowed deviations from the expected size
Checks if the PageElement currently has the specified text.
the text which the PageElement is supposed to have
Checks if - currently - the width of PageElement matches the specified width or if PageElement's width deviates no more than the specified tolerance from the specified width.
the expected width of PageElement
used to calculate the maximal allowed deviation from the expected width
Checks if - currently - the x-location of PageElement matches the specified x-location or if PageElement's x-location deviates no more than the specified tolerance from the specified x-location.
the expected x-location of PageElement
used to calculate the maximal allowed deviation from the expected x-location
Checks if - currently - the y-location of PageElement matches the specified y-location or if PageElement's y-location deviates no more than the specified tolerance from the specified y-location.
the expected y-location of PageElement
used to calculate the maximal allowed deviation from the expected y-location
Generated using TypeDoc
This interface describes positive and negative (.not) expectation matchers for PageElements.
It is implemented by the return value of the
expectElement
function if expectElement was passed an instance of PageElement.