Named group of related WebElements.
More...
Public Member Functions
IDictionary< string, IWebElement >
GetElements (object pageObject)
Detailed Description
Constructor & Destructor Documentation
◆ ElementGroup()
HtmlElements.ElementGroup.ElementGroup
(
params string[]
groups )
Initializes a new instance of the ElementGroup class.
- Parameters
-
groups List of group names WebElements belongs to.
Member Function Documentation
◆ GetElements()
IDictionary<string, IWebElement> HtmlElements.ElementGroup.GetElements
(
object
pageObject )
Retrieves all WebElements marked with ElementGroupAttribute and matching group name.
- Parameters
-
pageObject Page object which fields and properties is being scanned.
- Returns
- List of WebElements which belong to current group.