This class defines all currently
functions of PageElementList.
an instance of the PageElementList for which PageElementListCurrently defines all currently
functions
the opts used to configure PageElementList
the options passed to elementStoreFunc
to configure the retrieved PageElement instance
This function retrieves an instance of a PageElement mapped by PageElementList from the list's PageNodeStore.
the XPath selector that identifies all PageElements managed by PageElementList
an instance of PageNodeStore which can be used to retrieve/create PageNodes
Stores an instance of ListWhereBuilder which allows to select subsets of the PageElements managed by PageElementList by modifying the list's selector using XPath modification functions.
Provides an API to check if any PageElement managed by PageElementList has a certain state within a specific timeout.
Provides an API to check if none of PageElementList's managed PageElements has a certain state within a specific timeout.
Returns true if the specified HTML attribute of PageElement currently does not contain the expected value.
the specified HTML attribute of PageElement, consisting of the attribute's name and the value it is expected not to contain
Returns true if the HTML attribute 'class' of PageElement currently does not contain the specified className.
the className which the HTML attribute 'class' of PageElement is supposed not to contain
Returns true if the PageElement's actual direct text currently does not contain the expected 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.
the expected direct text which is supposed not to be contained in the actual direct text
Returns true if the PageElement's actual HTML currently does not contain the expected HTML.
Returns true if the HTML attribute 'id' of PageElement currently does not contain the specified value.
the value which the HTML attribute 'id' of PageElement is supposed not to contain
Returns true if the HTML attribute 'name' of PageElement currently does not contain the specified value.
the value which the HTML attribute 'name' of PageElement is supposed not to contain
Returns true if the PageElement's actual text currently does not contain the expected text.
the expected text which is supposed not to be contained in the actual text
Returns true if PageElement currently does not exist.
Returns true if the HTML attribute with the specified attributeName of PageElement currently does not have any value.
the name of a PageElement's HTML attribute which is supposed not to have any value
Returns true if the HTML attribute 'class' of PageElement currently does not have any className.
Returns true if the PageElement currently does not have 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.
Returns true if the PageElement currently does not have any HTML.
Returns true if the HTML attribute 'id' of PageElement currently does not have any value.
Returns true if the HTML attribute 'name' of PageElement currently does not have any value.
Returns true if the PageElement currently does not have any text.
Returns true if the specified HTML attribute of PageElement currently does not have the expected value.
the specified HTML attribute of PageElement, consisting of the attribute's name and the value it is expected not to have
Returns true if the HTML attribute 'class' of PageElement currently does not have the specified className.
the className which the HTML attribute 'class' of PageElement is supposed not to have
Returns true if the PageElement's actual direct text currently does not equal the expected 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.
the expected direct text which is supposed not to equal the actual direct text
Returns true if the PageElement's actual HTML currently does not equal the expected HTML.
the expected HTML which is supposed not to equal the actual HTML
Returns true if - currently - the height of PageElement does not match the specified height or if PageElement's height deviates 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
Returns true if the HTML attribute 'id' of PageElement currently does not have the specified value.
the value which the HTML attribute 'id' of PageElement is supposed not to have
Returns true if - currently - the location of PageElement does not match the specified coordinates or if its location deviates more than the specified tolerances from the specified coordinates.
the not-expected coordinates of PageElement
used to calculate the maximal allowed deviations from the expected coordinates
Returns true if the HTML attribute 'name' of PageElement currently does not have the specified value.
the value which the HTML attribute 'name' of PageElement is supposed not to have
Returns true if - currently - the size of PageElement does not match the specified size or if PageElement's size deviates more than the specified tolerances from the specified size.
the not-expected size of PageElement
used to calculate the maximal allowed deviations from the expected size
Returns true if the PageElement's actual text currently does not equal the expected text.
the expected text which is supposed not to equal the actual text
Returns true if - currently - the width of PageElement does not match the specified width or if PageElement's width deviates 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
Returns true if - currently - the x-location of PageElement does not match the specified x-location or if PageElement's x-location deviates more than the specified tolerance from the specified x-location.
the not-expected x-location of PageElement
used to calculate the maximal allowed deviation from the expected x-location
Returns true if - currently - the y-location of PageElement does not match the specified y-location or if PageElement's y-location deviates more than the specified tolerance from the specified y-location.
the not-expected y-location of PageElement
used to calculate the maximal allowed deviation from the expected y-location
Returns true if PageElement is currently not checked.
Returns true if PageElement is currently not enabled.
Returns true if PageElement is currently not selected.
Returns true if PageElement is currently not visible.
returns the negated variants of PageElementListCurrently's state check functions
Returns true if the actual direct texts of all PageElements managed by PageElementList currently do not contain the expected direct text(s).
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 expected direct text(s) not supposed to be contained in the actual direct texts
If directText
is a single value, this value is compared to each element in the array of actual values of all
PageElements.
If directText
is an array of values, its length must match the length of PageElementList and the values of
its array elements are compared to the array of actual values of all PageElements.
Returns true if the actual texts of all PageElements managed by PageElementList currently do not contain the expected text(s).
the expected text(s) supposed not to be contained in the actual texts
If text
is a single value, this value is compared to each element in the array of actual values of all
PageElements.
If text
is an array of values, its length must match the length of PageElementList and the values of its
array elements are compared to the array of actual values of all PageElements.
Returns true if none of the PageElements managed by PageElementList currently exist.
if set to false, the existence check is skipped and true
is returned
Returns true if all PageElements managed by PageElementList currently do not have 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.
can be used to skip the invocation of the hasAnyDirectText
function for some or all managed
PageElements
Returns true if all PageElements managed by PageElementList currently do not have any text.
can be used to skip the invocation of the hasAnyText
function for some or all managed
PageElements
Returns true if the actual direct texts of all PageElements managed by PageElementList currently do not equal the expected direct text(s).
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 expected direct text(s) supposed not to equal the actual direct texts
If directText
is a single value, this value is compared to each element in the array of actual values of all
PageElements.
If directText
is an array of values, its length must match the length of PageElementList and the values of
its array elements are compared to the array of actual values of all PageElements.
Returns the current negated result of the comparison between PageElementList's actual length and an expected
length using the comparison method defined in comparator
.
The following comparison methods are supported:
the not-expected length
defines the method used to compare the actual and the expected length of PageElementList
Returns true if the actual texts of all PageElements managed by PageElementList currently do not equal the expected text(s).
the expected text(s) supposed not to equal the actual texts
If text
is a single value, this value is compared to each element in the array of actual values of all
PageElements.
If text
is an array of values, its length must match the length of PageElementList and the values of its
array elements are compared to the array of actual values of all PageElements.
Returns true if PageElementList is currently not empty.
Returns true if all PageElements managed by PageElementList are currently not enabled.
can be used to skip the invocation of the isEnabled
function for some or all managed
PageElements
Returns true if all PageElements managed by PageElementList are currently not visible.
can be used to skip the invocation of the isVisible
function for some or all managed
PageElements
Returns true if the actual direct texts of all PageElements managed by PageElementList currently contain the expected direct text(s).
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 expected direct text(s) supposed to be contained in the actual direct texts
If directText
is a single value, this value is compared to each element in the array of actual values of all
PageElements.
If directText
is an array of values, its length must match the length of PageElementList and the values of its
array elements are compared to the array of actual values of all PageElements.
Returns true if the actual texts of all PageElements managed by PageElementList currently contain the expected text(s).
the expected text(s) supposed to be contained in the actual texts
If text
is a single value, this value is compared to each element in the array of actual values of all
PageElements.
If text
is an array of values, its length must match the length of PageElementList and the values of its array
elements are compared to the array of actual values of all PageElements.
Returns true if at least one of the PageElements managed by PageElementList currently exists.
if set to false, the existence check is skipped and true
is returned
Returns the current 'containsDirectText' status of all PageElements managed by PageElementList as an array.
A PageElement's 'containsDirectText' status is set to true if its actual direct text contains the expected direct text.
the expected direct text used in the comparisons which set the 'containsDirectText' status.
If directText
is a single value, this value is compared to each element in the array of actual values of all
PageElements.
If directText
is an array of values, its length must match the length of PageElementList and the values of its
array elements are compared to the array of actual values of all PageElements.
Returns the current 'containsText' status of all PageElements managed by PageElementList as an array.
A PageElement's 'containsText' status is set to true if its actual text contains the expected text.
the expected text used in the comparisons which set the 'containsText' status
If text
is a single value, this value is compared to each element in the array of actual values of all
PageElements.
If text
is an array of values, its length must match the length of PageElementList and the values of its array
elements are compared to the array of actual values of all PageElements.
Returns the current direct texts of all PageElements managed by PageElementList as an array.
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.
can be used to skip the invocation of the getDirectText
function for some or all managed
PageElements. The results of skipped function invocations are not included in the total results array.
Returns the current 'exists' status of all PageElements managed by PageElementList as an array.
can be used to skip the invocation of the getExists
function for some or all managed
PageElements. The results of skipped function invocations are not included in the total results array.
Returns the current 'hasAnyDirectText' status of all PageElements managed by PageElementList as an array.
A PageElement's 'hasAnyDirectText' status is set to true if the PageElement has any direct text.
can be used to skip the invocation of the getHasAnyDirectText
function for some or all managed
PageElements. The results of skipped function invocations are not included in the total results array.
Returns the current 'hasAnyText' status of all PageElements managed by PageElementList as an array.
A PageElement's 'hasAnyText' status is set to true if the PageElement has any text.
can be used to skip the invocation of the getHasAnyText
function for some or all managed
PageElements. The results of skipped function invocations are not included in the total results array.
Returns the current 'hasDirectText' status of all PageElements managed by PageElementList as an array.
A PageElement's 'hasDirectText' status is set to true if its actual direct text equals the expected direct text.
the expected direct text used in the comparisons which set the 'hasDirectText' status.
If directText
is a single value, this value is compared to each element in the array of actual values of all
PageElements.
If directText
is an array of values, its length must match the length of PageElementList and the values of its
array elements are compared to the array of actual values of all PageElements.
Returns the current 'hasText' status of all PageElements managed by PageElementList as an array.
A PageElement's 'hasText' status is set to true if its actual text equals the expected text.
the expected text used in the comparisons which set the 'hasText' status
If text
is a single value, this value is compared to each element in the array of actual values of all
PageElements.
If text
is an array of values, its length must match the length of PageElementList and the values of its array
elements are compared to the array of actual values of all PageElements.
Returns the current 'enabled' status of all PageElements managed by PageElementList as an array.
can be used to skip the invocation of the getIsEnabled
function for some or all managed
PageElements. The results of skipped function invocations are not included in the total results array.
Returns the current 'visible' status of all PageElements managed by PageElementList as an array.
can be used to skip the invocation of the getIsVisible
function for some or all managed
PageElements. The results of skipped function invocations are not included in the total results array.
Returns the current number of PageElements managed by PageElementList (the number of PageElements found in the DOM which are identified by PageElementList's XPath selector).
Returns the current texts of all PageElements managed by PageElementList as an array.
can be used to skip the invocation of the getText
function for some or all managed
PageElements. The results of skipped function invocations are not included in the total results array.
Returns true if all PageElements managed by PageElementList currently have 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.
can be used to skip the invocation of the hasAnyDirectText
function for some or all managed
PageElements
Returns true if all PageElements managed by PageElementList currently have any text.
can be used to skip the invocation of the hasAnyText
function for some or all managed
PageElements
Returns true if the actual direct texts of all PageElements managed by PageElementList currently equal the expected direct text(s).
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 expected direct text(s) supposed to equal the actual direct texts
If directText
is a single value, this value is compared to each element in the array of actual values of all
PageElements.
If directText
is an array of values, its length must match the length of PageElementList and the values of its
array elements are compared to the array of actual values of all PageElements.
Returns the current result of the comparison between PageElementList's actual length and an expected length using
the comparison method defined in comparator
.
The following comparison methods are supported:
the expected length
defines the method used to compare the actual and the expected length of PageElementList
Returns true if the actual texts of all PageElements managed by PageElementList currently equal the expected text(s).
the expected text(s) supposed to equal the actual texts
If text
is a single value, this value is compared to each element in the array of actual values of all
PageElements.
If text
is an array of values, its length must match the length of PageElementList and the values of its array
elements are compared to the array of actual values of all PageElements.
Returns true if PageElementList is currently empty.
Returns true if all PageElements managed by PageElementList are currently enabled.
can be used to skip the invocation of the isEnabled
function for some or all managed
PageElements
Returns true if all PageElements managed by PageElementList are currently visible.
can be used to skip the invocation of the isVisible
function for some or all managed
PageElements
Generated using TypeDoc
This class defines all
currently
functions of PageElementList.Store type of the PageNodeStore instance which can be used to retrieve/create PageNodes
PageElementType type of the PageElement managed by PageElementList
PageElementOpts type of the opts paramter passed to the constructor function of managed PageElements
ListType type of the PageElementList for which PageElementListCurrently defines all
currently
functions