Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ValuePageElementGroupCurrently<Store, Content, GroupType>

This class defines all currently functions of ValuePageElementGroup.

template

Store type of the PageNodeStore instance which can be used to retrieve/create PageNodes

template

Content an arbitrary object structure of PageNode instances as values and the names used to identify these PageNodes as keys

template

GroupType type of the ValuePageElementGroup for which ValuePageElementGroupCurrently defines all currently functions

Type parameters

Hierarchy

Index

Constructors

constructor

Properties

Protected _node

_node: GroupType

the PageNode for which PageNodeCurrently defines all currently functions

Accessors

not

  • get not(): object

Methods

containsDirectText

containsText

containsValue

exists

getContainsDirectText

  • Returns the current 'containsDirectText' status of all PageNodes managed by PageElementGroup as a result structure.

    A PageNode'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.

    Parameters

    • directTexts: ExtractTextStateChecker<Content>

      the expected direct texts used in the comparisons which set the 'containsDirectText' status

    Returns object

getContainsText

getContainsValue

  • Returns the current 'containsValue' status of all PageNodes managed by ValuePageElementGroup as a result structure.

    A PageNode's 'containsValue' status is set to true if its actual value contains the expected value.

    Parameters

    • values: ExtractValueStateChecker<Content>

      the expected values used in the comparisons which set the 'containsValue' status

    Returns object

getDirectText

  • Returns the current direct texts of all PageNodes managed by PageElementGroup as a result structure.

    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.

    Parameters

    • Optional filterMask: GroupFilterMask<Content>

      can be used to skip the invocation of the getDirectText function for some or all managed PageNodes. The results of skipped function invocations are not included in the total results structure.

    Returns object

getExists

getHasAnyDirectText

  • Returns the current 'hasAnyDirectText' status of all PageNodes managed by PageElementGroup as a result structure.

    A PageNode's 'hasAnyDirectText' status is set to true if the PageNode 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.

    Parameters

    • Optional filterMask: GroupFilterMask<Content>

      can be used to skip the invocation of the getHasAnyDirectText function for some or all managed PageNodes. The results of skipped function invocations are not included in the total results structure.

    Returns object

getHasAnyText

  • Returns the current 'hasAnyText' status of all PageNodes managed by PageElementGroup as a result structure.

    A PageNode's 'hasAnyText' status is set to true if the PageNode has any text.

    Parameters

    • Optional filterMask: GroupFilterMask<Content>

      can be used to skip the invocation of the getHasAnyText function for some or all managed PageNodes. The results of skipped function invocations are not included in the total results structure.

    Returns object

getHasAnyValue

  • Returns the current 'hasAnyValue' status of all PageNodes managed by ValuePageElementGroup as a result structure.

    A PageNode's 'hasAnyValue' status is set to true if the PageNode has any value.

    Parameters

    • Optional filterMask: ValueGroupFilterMask<Content>

      can be used to skip the invocation of the getHasAnyValue function for some or all managed PageNodes. The results of skipped function invocations are not included in the total results structure.

    Returns object

getHasDirectText

  • Returns the current 'hasDirectText' status of all PageNodes managed by PageElementGroup as a result structure.

    A PageNode'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.

    Parameters

    • directTexts: ExtractTextStateChecker<Content>

      the expected direct texts used in the comparisons which set the 'hasDirectText' status

    Returns object

getHasText

getHasValue

  • Returns the current 'hasValue' status of all PageNodes managed by ValuePageElementGroup as a result structure.

    A PageNode's 'hasValue' status is set to true if its actual value equals the expected value.

    Parameters

    Returns object

getIsEnabled

getIsVisible

getText

getValue

  • Returns the current values of all PageNodes managed by ValuePageElementGroup as a result structure.

    Parameters

    • Optional filterMask: ValueGroupFilterMask<Content>

      can be used to skip the invocation of the getValue function for some or all managed PageNodes. The results of skipped function invocations are not included in the total results structure.

    Returns object

hasAnyDirectText

  • Returns true if all PageNodes managed by PageElementGroup 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.

    Parameters

    • Optional filterMask: GroupFilterMask<Content>

      can be used to skip the invocation of the hasAnyDirectText function for some or all managed PageNodes

    Returns boolean

hasAnyText

hasAnyValue

hasDirectText

hasText

hasValue

isEnabled

isVisible

Generated using TypeDoc