public class WidgetListInterceptor extends InterceptorOfAListOfElements
locator| Constructor and Description |
|---|
WidgetListInterceptor(CacheableLocator locator,
java.lang.ref.WeakReference<org.openqa.selenium.WebDriver> driver,
java.util.Map<ContentType,java.lang.reflect.Constructor<? extends Widget>> instantiationMap,
java.lang.Class<? extends Widget> declaredType,
java.time.Duration duration)
Proxy interceptor class for lists of widgets.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
getObject(java.util.List<org.openqa.selenium.WebElement> elements,
java.lang.reflect.Method method,
java.lang.Object[] args) |
callclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterCall, beforeCall, onErrorpublic WidgetListInterceptor(@Nullable
CacheableLocator locator,
java.lang.ref.WeakReference<org.openqa.selenium.WebDriver> driver,
java.util.Map<ContentType,java.lang.reflect.Constructor<? extends Widget>> instantiationMap,
java.lang.Class<? extends Widget> declaredType,
java.time.Duration duration)
protected java.lang.Object getObject(java.util.List<org.openqa.selenium.WebElement> elements,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
getObject in class InterceptorOfAListOfElementsjava.lang.Throwable