Class ElementListInterceptor
- java.lang.Object
-
- io.appium.java_client.pagefactory.interceptors.InterceptorOfAListOfElements
-
- io.appium.java_client.pagefactory.ElementListInterceptor
-
- All Implemented Interfaces:
MethodCallListener
public class ElementListInterceptor extends InterceptorOfAListOfElements
Intercepts requests to the list ofWebElement
.
-
-
Field Summary
-
Fields inherited from class io.appium.java_client.pagefactory.interceptors.InterceptorOfAListOfElements
locator
-
Fields inherited from interface io.appium.java_client.proxy.MethodCallListener
UNSET
-
-
Constructor Summary
Constructors Constructor Description ElementListInterceptor(org.openqa.selenium.support.pagefactory.ElementLocator locator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Object
getObject(java.util.List<org.openqa.selenium.WebElement> elements, java.lang.reflect.Method method, java.lang.Object[] args)
-
Methods inherited from class io.appium.java_client.pagefactory.interceptors.InterceptorOfAListOfElements
call
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.appium.java_client.proxy.MethodCallListener
afterCall, beforeCall, onError
-
-
-
-
Method Detail
-
getObject
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
- Specified by:
getObject
in classInterceptorOfAListOfElements
- Throws:
java.lang.Throwable
-
-