public class WebElementLocator extends BaseElementLocator<org.openqa.selenium.WebElement>
by, cachedElement, cachedElementList, fieldTypeInfo, logger, reflectionUtil, searchContext, shouldCache, vaniContext, waitUtil| Constructor and Description |
|---|
WebElementLocator(org.openqa.selenium.SearchContext searchContext,
org.openqa.selenium.By by,
boolean shouldCache,
FieldTypeInfo fieldTypeInfo,
VaniContext vaniContext) |
| Modifier and Type | Method and Description |
|---|---|
org.openqa.selenium.WebElement |
findElement()
This method will look only for one match and return it.
|
List<org.openqa.selenium.WebElement> |
findElements()
This method will look for multiple matches and returns it as a list.
|
executeContentWait, getRootElement, getWebDriver, mustRelocateCachedElementspublic WebElementLocator(org.openqa.selenium.SearchContext searchContext,
org.openqa.selenium.By by,
boolean shouldCache,
FieldTypeInfo fieldTypeInfo,
VaniContext vaniContext)
public org.openqa.selenium.WebElement findElement()
VaniElementLocatorfindElement in interface VaniElementLocator<org.openqa.selenium.WebElement>findElement in class BaseElementLocator<org.openqa.selenium.WebElement>public List<org.openqa.selenium.WebElement> findElements()
VaniElementLocatorfindElements in interface VaniElementLocator<org.openqa.selenium.WebElement>findElements in class BaseElementLocator<org.openqa.selenium.WebElement>Copyright © 2016. All rights reserved.