T - target type (eg.: WebElement)public interface VaniElementLocator<T>
WebElement.| Modifier and Type | Method and Description |
|---|---|
T |
findElement()
This method will look only for one match and return it.
|
List<T> |
findElements()
This method will look for multiple matches and returns it as a list.
|
T findElement() throws org.openqa.selenium.NoSuchElementException
org.openqa.selenium.NoSuchElementException - will be thrown if no matching can be foundCopyright © 2016. All rights reserved.