Class SmartWidgetHandler
java.lang.Object
net.thucydides.core.annotations.locators.AbstractSingleItemHandler<WidgetObject>
net.thucydides.core.annotations.locators.SmartWidgetHandler
- All Implemented Interfaces:
InvocationHandler
Handles single-item
WidgetObject proxies.- Author:
- Joe Nasca
-
Field Summary
Fields inherited from class net.thucydides.core.annotations.locators.AbstractSingleItemHandler
implementerClass, locator, page -
Constructor Summary
ConstructorsConstructorDescriptionSmartWidgetHandler(Class<?> interfaceType, org.openqa.selenium.support.pagefactory.ElementLocator locator, PageObject page) -
Method Summary
Methods inherited from class net.thucydides.core.annotations.locators.AbstractSingleItemHandler
invoke
-
Constructor Details
-
SmartWidgetHandler
public SmartWidgetHandler(Class<?> interfaceType, org.openqa.selenium.support.pagefactory.ElementLocator locator, PageObject page)
-
-
Method Details
-
newElementInstance
protected Object newElementInstance() throws InvocationTargetException, NoSuchMethodException, InstantiationException, IllegalAccessException- Specified by:
newElementInstancein classAbstractSingleItemHandler<WidgetObject>- Throws:
InvocationTargetExceptionNoSuchMethodExceptionInstantiationExceptionIllegalAccessException
-