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