
public class WebElementWrapperEnricher extends AbstractSearchContextEnricher
NEW_LINE| Constructor and Description |
|---|
WebElementWrapperEnricher() |
WebElementWrapperEnricher(org.jboss.arquillian.core.api.Instance<GrapheneConfiguration> configuration) |
| Modifier and Type | Method and Description |
|---|---|
protected <T> T |
createWrapper(GrapheneContext grapheneContext,
Class<T> type,
org.openqa.selenium.WebElement element) |
protected <T> List<T> |
createWrappers(GrapheneContext grapheneContext,
Class<T> type,
List<org.openqa.selenium.WebElement> elements) |
void |
enrich(org.openqa.selenium.SearchContext searchContext,
Object target) |
int |
getPrecedence() |
protected boolean |
isValidClass(Class<?> clazz) |
Object[] |
resolve(org.openqa.selenium.SearchContext searchContext,
Method method,
Object[] resolvedParams) |
enrichRecursively, getActualType, getListType, getSortedSearchContextEnrichers, instantiate, setValuepublic WebElementWrapperEnricher()
public WebElementWrapperEnricher(org.jboss.arquillian.core.api.Instance<GrapheneConfiguration> configuration)
public void enrich(org.openqa.selenium.SearchContext searchContext,
Object target)
public Object[] resolve(org.openqa.selenium.SearchContext searchContext, Method method, Object[] resolvedParams)
protected <T> T createWrapper(GrapheneContext grapheneContext, Class<T> type, org.openqa.selenium.WebElement element) throws Exception
Exceptionprotected <T> List<T> createWrappers(GrapheneContext grapheneContext, Class<T> type, List<org.openqa.selenium.WebElement> elements)
protected final boolean isValidClass(Class<?> clazz)
public int getPrecedence()
Copyright © 2016 JBoss by Red Hat. All rights reserved.