Named group of related WebElements.
More...
Named group of related WebElements.
◆ ElementGroup()
HtmlElements.ElementGroup.ElementGroup |
( |
params string[] |
groups | ) |
|
Initializes a new instance of the ElementGroup class.
- Parameters
-
groups | List of group names WebElements belongs to. |
◆ 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.