Caches instances of PageNodes.
An instance of XPathBuilder used to build the currently constructed XPath expressions of retrieved PageNodes.
Retrieves an instance of a PageElement from the store.
The waitType of the PageElement is set to 'visible' by default.
the XPath selector of the retrieved PageElement
the publicly available options used to configure the retrieved PageElement
an instance of the retrieved PageElement
Retrieves an instance of a PageElementGroup from the store.
The group functions (state check -> hasXXX/hasAnyXXX/containsXXX, state retrieval -> getXXX) supported by the retrieved PageElementGroup are defined in Workflo.IElementNode.
an object whose keys are the names of PageNodes managed by the PageElementGroup and whose values are instances of these PageNodes
an instance of the retrieved PageElementGroup
Retrieves an instance of a PageElementList from the store that manages PageElement instances of the type PageElement.
The waitType of the PageElements managed by PageElementList and the waitType of the list itself are set to 'visible' by default.
the XPath selector of the retrieved PageElementList
the publicly available options used to configure the retrieved PageElementList
an instance of the retrieved PageElementList
Retrieves an instance of a PageElementMap from the store that manages PageElement instances of the type PageElement.
The waitType of PageElements managed by PageElementMap is set to 'visible' by default.
the XPath selector of the retrieved PageElementMap
the publicly available options used to configure the retrieved PageElementMap
an instance of the retrieved PageElementMap
Retrieves an instance of a PageElement from the store.
The waitType of the retrieved PageElement is set to 'exist' and cannot be overwritten.
the XPath selector of the retrieved PageElement
the publicly available options used to configure the retrieved PageElement
an instance of the retrieved PageElement
Retrieves an instance of a PageElementMap from the store that manages PageElement instances of the type PageElement.
The waitType of PageElements managed by PageElementMap is set to 'exist' by default.
the XPath selector of the retrieved PageElementMap
the publicly available options used to configure the retrieved PageElementMap
an instance of the retrieved PageElementMap
Retrieves an instance of a PageElementList from the store that manages any instance of PageElement which inherits from the PageElement class.
The waitType of PageElements managed by PageElementList and the waitType of the list itself are set to 'visible' by default.
the XPath selector of the retrieved PageElementList
the publicly available options used to configure the retrieved PageElementList
an instance of the retrieved PageElementList
Retrieves an instance of a PageElementMap from the store that manages any instance of PageElement which inherits from the PageElement class.
The waitType of PageElements managed by PageElementMap is set to 'visible' by default.
the XPath selector of the retrieved PageElementMap
the publicly available options used to configure the retrieved PageElementMap
an instance of the retrieved PageElementMap
Retrieves an instance of a ValuePageElementGroup from the store.
The group functions (state check -> hasXXX/hasAnyXXX/containsXXX, state retrieval -> getXXX) supported by the retrieved ValuePageElementGroup are defined in Workflo.IValueElementNode.
an object whose keys are the names of PageNodes managed by the ValuePageElementGroup and whose values are instances of these PageNodes
an instance of the retrieved PageElementGroup
Retrieves an instance of a ValuePageElementList from the store that manages any instance of ValuePageElement which inherits from the ValuePageElement class.
The waitType of PageElements managed by ValuePageElementList and the waitType of the list itself are set to 'visible' by default.
the XPath selector of the retrieved ValuePageElementList
the publicly available options used to configure the retrieved ValuePageElementList
an instance of the retrieved ValuePageElementList
Retrieves an instance of a ValuePageElementMap from the store that manages any instance of ValuePageElement which inherits from the ValuePageElement class.
The waitType of ValuePageElements managed by ValuePageElementMap is set to 'visible' by default.
the XPath selector of the retrieved ValuePageElementMap
the publicly available options used to configure the retrieved ValuePageElementMap
an instance of the retrieved ValuePageElementMap
Creates or retrieves a cached version of a PageNode instance with the given selector, type and opts.
If a page element with identical parameters already exists in this store, a cached instance of this page element will be returned.
the selector of the retrieved PageNode
the constructor function of the retrieved PageNode instance
the opts parameter passed to the constructor of the retrieved PageNode instance
Creates or retrieves a cached version of a PageElement instance.
the XPath selector of the retrieved PageElement instance
the constructor function of the retrieved PageElement instance
the opts parameter passed to the constructor of the retrieved PageElement instance
Creates or retrieves a cached version of a PageElementGroup instance.
the constructor function of the retrieved PageElementGroup instance
the opts parameter passed to the constructor of the retrieved PageElementGroup instance
Creates or retrieves a cached version of a PageElementList instance.
the XPath selector of the retrieved PageElementList instance
the constructor function of the retrieved PageElementList instance
the opts parameter passed to the constructor of the retrieved PageElementList instance
Creates or retrieves a cached version of a PageElementMap instance.
the XPath selector of the retrieved PageElementMap instance
the constructor function of the retrieved PageElementMap instance
the opts parameter passed to the constructor of the retrieved PageElementMap instance
Generated using TypeDoc
PageNodeStore serves as a facade for the creation and retrieval of Page Nodes. Basically, Page Nodes should only be created or retrieved via PageNodeStores and never by "manually" invoking their constructor functions.
PageNodeStore caches instances of Page Nodes with the same type and selector to avoid creating new Page Nodes on each invocation of a retrieval function.
Furthermore, PageNodeStore allows you to define default opts parameters and provide pre-configured variants of PageNodes (eg. Element and ExistElement).