T - type of the element to be suppliedpublic interface IElementSupplier<T extends IElement>
| Modifier and Type | Method and Description |
|---|---|
default T |
get(org.openqa.selenium.By locator,
String name)
Returns an instance of element which desired to be in DISPLAYED
ElementState |
T |
get(org.openqa.selenium.By locator,
String name,
ElementState state)
Returns an instance of element
|
T get(org.openqa.selenium.By locator, String name, ElementState state)
locator - By locatorname - output name in logsstate - desired element's statedefault T get(org.openqa.selenium.By locator, String name)
ElementStatelocator - By locatorname - output name in logsCopyright © 2020. All rights reserved.