public interface ElementGroup
| Modifier and Type | Method and Description |
|---|---|
default <T extends ElementGroup> |
get(Class<T> groupType,
Class<? extends Annotation>... qualifiers)
Retrieves a nested
ElementGroup from this group by type. |
default org.openqa.selenium.SearchContext |
getSearchContext()
Returns the search context for locating elements inside the element group.
|
default void |
locateElements()
Locates all elements specified either by field annotation or method annotation and injects the web element
suppliers to each element.
|
default org.openqa.selenium.SearchContext getSearchContext()
default <T extends ElementGroup> T get(Class<T> groupType, Class<? extends Annotation>... qualifiers)
ElementGroup from this group by type. The method assumes there
is only one ElementGroup of a specific type.T - the type of the ElementGroup that should be retrievedgroupType - the type of the element group to retrievedefault void locateElements()
Supplier<WebElement> and must be annotated with Locator. Same applies for
setter methods, which must have a return type of void and must accept a single parameter being of type Supplier<WebElement>Copyright © 2016 DevCon5 GmbH. All rights reserved.