PageNodeCurrently defines all currently
functions of PageNode.
PageNode for which PageNodeCurrently defines all currently
functions
the PageNode for which PageNodeCurrently defines all currently
functions
Fetches the first webdriverio element from the HTML page that is identified by PageElement's XPath selector.
returns the negated variants of ValuePageElementCurrently's state check functions
Returns true if the ValuePageElement's actual value currently does not contain the expected value.
the expected value which is supposed not to be contained in the actual value
Returns true if the ValuePageElement currently does not have any value.
Returns true if the ValuePageElement's actual value currently does not equal the expected value.
the expected value which is supposed not to equal the actual value
Checks if the actual
value contains the expected
value and writes both values into this._lastDiff
.
the value expected to be contained in the actual value
the actual value expected to contain the expected value
Checks if the actual
value has/equals the expected
value and writes both values into this._lastDiff
.
the expected value
the actual value
Checks if actual
has any value and writes actual
into this._lastDiff
.
the actual value
Checks if the actual value lies within a given tolerance of the expected value.
the actual value from the browser
the expected value or 0 if expected was smaller than 0
the tolerance or 0 if tolerance was smaller than 0
Stores the values of actual
and expected
into this._lastDiff
as strings.
an actual value
an expected value
Returns true 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
Returns true if the HTML attribute 'class' of PageElement currently contains the specified className.
the className which the HTML attribute 'class' of PageElement is supposed to contain
Returns true if the PageElement's actual direct text currently contains 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 to be contained in the actual direct text
Returns true if the PageElement's actual HTML currently contains the expected HTML.
Returns true if the HTML attribute 'id' of PageElement currently contains the specified value.
the value which the HTML attribute 'id' of PageElement is supposed to contain
Returns true if the HTML attribute 'name' of PageElement currently contains the specified value.
the value which the HTML attribute 'name' of PageElement is supposed to contain
Returns true if the PageElement's actual text currently contains the expected text.
the expected text which is supposed to be contained in the actual text
Returns true if the ValuePageElement's actual value currently contains the expected value.
the expected value which is supposed to be contained in the actual value
Returns true if PageElement currently exists.
Overwriting this function affects the behavior of the function exists
in PageElement and its currently
,
wait
and eventually
APIs.
Returns the current value of PageElement's HTML attribute with the passed attribute name.
Overwriting this function affects the behavior of the functions getAttribute
, hasAttribute
, containsAttribute
and hasAnyAttribute
in PageElement and its currently
, wait
and eventually
APIs.
the name of the HTML attribute whose current value should be returned
Returns the current value of PageElement's 'class' HTML attribute.
Overwriting this function affects the behavior of the functions getClass
, hasClass
, containsClass
and
hasAnyClass
in PageElement and its currently
, wait
and eventually
APIs.
Returns PageElement's current 'containsDirectText' status.
A PageElement's 'containsDirectText' status is set to true if its actual direct text contains 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 used in the comparison which sets the 'containsDirectText' status
Returns PageElement's current 'containsText' status.
A PageElement's 'containsText' status is set to true if its actual text contains the expected text.
the expected text used in the comparison which sets the 'containsText' status
Returns ValuePageElement's current 'containsValue' status.
A ValuePageElement's 'containsValue' status is set to true if its actual value contains the expected value.
the expected value used in the comparison which sets the 'containsValue' status
Returns PageElement's current 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.
Overwriting this function affects the behavior of the functions getDirectText
, hasDirectText
,
containsDirectText
and hasAnyDirectText
in PageElement and its currently
, wait
and eventually
APIs.
Returns true if PageElement currently exists.
Returns PageElement's current HTML.
Overwriting this function affects the behavior of the functions getHTML
, hasHTML
, containsHTML
and
hasAnyHTML
in PageElement and its currently
, wait
and eventually
APIs.
Returns PageElement's current 'hasAnyDirectText' status.
A PageElement's 'hasAnyDirectText' status is set to true if it 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.
Returns PageElement's current 'hasAnyText' status.
A PageElement's 'hasAnyText' status is set to true if it has any text.
Returns ValuePageElement's current 'hasAnyValue' status.
A ValuePageElement's 'hasAnyValue' status is set to true if it has any value.
Returns PageElement's current 'hasDirectText' status.
A PageElement's 'hasDirectText' status is set to true if its actual direct text equals 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 used in the comparison which sets the 'hasDirectText' status
Returns PageElement's current 'hasText' status.
A PageElement's 'hasText' status is set to true if its actual text equals the expected text.
the expected text used in the comparison which sets the 'hasText' status
Returns ValuePageElement's current 'hasValue' status.
A ValuePageElement's 'hasValue' status is set to true if its actual value equals the expected value.
the expected value used in the comparison which sets the 'hasValue' status
Returns the current height of PageElement in pixels.
Overwriting this function affects the behavior of the functions getHeight
, hasHeight
, containsHeight
and hasAnyHeight
in PageElement and its currently
, wait
and eventually
APIs.
Returns the current value of PageElement's 'id' HTML attribute.
Overwriting this function affects the behavior of the functions getId
, hasId
, containsId
and
hasAnyId
in PageElement and its currently
, wait
and eventually
APIs.
Returns true if PageElement is currently enabled.
Returns true if PageElement is currently visible.
Returns the current location of PageElement in pixels.
Overwriting this function affects the behavior of the functions getLocation
, hasLocation
, containsLocation
and hasAnyLocation
in PageElement and its currently
, wait
and eventually
APIs.
Returns the current value of PageElement's 'name' HTML attribute.
Overwriting this function affects the behavior of the functions getName
, hasName
, containsName
and
hasAnyName
in PageElement and its currently
, wait
and eventually
APIs.
Returns the current size of PageElement in pixels.
Overwriting this function affects the behavior of the functions getSize
, hasSize
, containsSize
and hasAnySize
in PageElement and its currently
, wait
and eventually
APIs.
Returns PageElement's current text.
Overwriting this function affects the behavior of the functions getText
, hasText
, containsText
and
hasAnyText
in PageElement and its currently
, wait
and eventually
APIs.
Returns the current value of ValuePageElement.
Returns the current width of PageElement in pixels.
Overwriting this function affects the behavior of the functions getWidth
, hasWidth
, containsWidth
and hasAnyWidth
in PageElement and its currently
, wait
and eventually
APIs.
Returns the current X-location of PageElement in pixels.
Overwriting this function affects the behavior of the functions getX
, hasX
, containsX
and hasAnyX
in PageElement and its currently
, wait
and eventually
APIs.
Returns the current Y-location of PageElement in pixels.
Overwriting this function affects the behavior of the functions getY
, hasY
, containsY
and hasAnyY
in PageElement and its currently
, wait
and eventually
APIs.
Returns true if the HTML attribute with the specified attributeName of PageElement currently has any value.
the name of a PageElement's HTML attribute which is supposed to have any value
Returns true if the HTML attribute 'class' of PageElement currently has any className.
Returns true 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.
Returns true if the PageElement currently has any HTML.
Returns true if the HTML attribute 'id' of PageElement currently has any value.
Returns true if the HTML attribute 'name' of PageElement currently has any value.
Returns true if the PageElement currently has any Text.
Returns true if the ValuePageElement currently has any Value.
Returns true 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
Returns true if the HTML attribute 'class' of PageElement currently has the specified className.
the className which the HTML attribute 'class' of PageElement is supposed to have
Returns true if the PageElement's actual direct text currently equals 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 to equal the actual direct text
Returns true if the PageElement's actual HTML currently equals the expected HTML.
the expected HTML which is supposed to equal the actual HTML
Returns true 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
Returns true if the HTML attribute 'id' of PageElement currently has the specified value.
the value which the HTML attribute 'id' of PageElement is supposed to have
Returns true 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
Returns true if the HTML attribute 'name' of PageElement currently has the specified value.
the value which the HTML attribute 'name' of PageElement is supposed to have
Returns true 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
Returns true if the PageElement's actual text currently equals the expected text.
the expected text which is supposed to equal the actual text
Returns true if the ValuePageElement's actual value currently equals the expected value.
the expected value which is supposed to equal the actual value
Returns true 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
Returns true 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
Returns true 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
Returns true if PageElement is currently checked.
Overwriting this function affects the behavior of the function isChecked
in PageElement and its currently
,
wait
and eventually
APIs.
Returns true if PageElement is currently enabled.
Overwriting this function affects the behavior of the function isEnabled
in PageElement and its currently
,
wait
and eventually
APIs.
Returns true if PageElement is currently selected.
Overwriting this function affects the behavior of the function isSelected
in PageElement and its currently
,
wait
and eventually
APIs.
Returns true if PageElement is currently visible.
Overwriting this function affects the behavior of the function isVisible
in PageElement and its currently
,
wait
and eventually
APIs.
Generated using TypeDoc
This class defines all
currently
functions of ValuePageElement.Store type of the PageNodeStore instance which can be used to retrieve/create PageNodes
PageElementType type of the ValuePageElement for which ValuePageElementCurrently defines all
currently
functionsValueType the type of ValuePageElement's value