public abstract class InterceptorOfASingleElement extends Object implements net.sf.cglib.proxy.MethodInterceptor
| Modifier and Type | Field and Description |
|---|---|
protected WebDriver |
driver |
protected org.openqa.selenium.support.pagefactory.ElementLocator |
locator |
| Constructor and Description |
|---|
InterceptorOfASingleElement(org.openqa.selenium.support.pagefactory.ElementLocator locator,
WebDriver driver) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Object |
getObject(WebElement element,
Method method,
Object[] args) |
Object |
intercept(Object obj,
Method method,
Object[] args,
net.sf.cglib.proxy.MethodProxy proxy)
Look at
MethodInterceptor.intercept(Object, Method, Object[], MethodProxy) |
protected final org.openqa.selenium.support.pagefactory.ElementLocator locator
protected final WebDriver driver
public InterceptorOfASingleElement(org.openqa.selenium.support.pagefactory.ElementLocator locator,
WebDriver driver)
protected abstract Object getObject(WebElement element, Method method, Object[] args) throws InvocationTargetException, IllegalAccessException, InstantiationException, Throwable
Copyright © 2016. All rights reserved.