Class WidgetListItemHandler
java.lang.Object
net.thucydides.core.annotations.locators.AbstractListItemHandler<WidgetObject>
net.thucydides.core.annotations.locators.WidgetListItemHandler
- All Implemented Interfaces:
InvocationHandler
Handles a resolved
WidgetObject from a List.- Author:
- Joe Nasca
-
Field Summary
Fields inherited from class net.thucydides.core.annotations.locators.AbstractListItemHandler
element, implementerClass, implicitTimeoutInMilliseconds, locator, page, waitForTimeoutInMilliseconds -
Constructor Summary
ConstructorsConstructorDescriptionWidgetListItemHandler(Class<?> interfaceType, org.openqa.selenium.support.pagefactory.ElementLocator locator, org.openqa.selenium.WebElement element, PageObject page, long implicitTimeoutInMilliseconds, long waitForTimeoutInMilliseconds) -
Method Summary
Methods inherited from class net.thucydides.core.annotations.locators.AbstractListItemHandler
invoke
-
Constructor Details
-
WidgetListItemHandler
public WidgetListItemHandler(Class<?> interfaceType, org.openqa.selenium.support.pagefactory.ElementLocator locator, org.openqa.selenium.WebElement element, PageObject page, long implicitTimeoutInMilliseconds, long waitForTimeoutInMilliseconds)
-
-
Method Details
-
newElementInstance
protected Object newElementInstance() throws NoSuchMethodException, InstantiationException, IllegalAccessException, InvocationTargetException- Specified by:
newElementInstancein classAbstractListItemHandler<WidgetObject>- Throws:
NoSuchMethodExceptionInstantiationExceptionIllegalAccessExceptionInvocationTargetException
-