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