Class SeleniumPageObjectFieldInitializer
- java.lang.Object
-
- de.bmiag.tapir.selenium.aop.pageobject.SeleniumPageObjectFieldInitializer
-
- All Implemented Interfaces:
PageObjectFieldInitializer
@Component("tapirPageObjectFieldInitializer") public class SeleniumPageObjectFieldInitializer extends java.lang.Object implements PageObjectFieldInitializer
This implementation of thePageObjectFieldInitializer
initializes the page elements with the Selenium API by callingPageFactory.initElements(FieldDecorator, Object)
.- Since:
- 2.0.0
- Author:
- Oliver Libutzki <[email protected]>, Nils Christian Ehmke <[email protected]>
- See Also:
PageFactory
,FieldDecorator
-
-
Constructor Summary
Constructors Constructor Description SeleniumPageObjectFieldInitializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initializeFields(java.lang.Object element)
Initializes the fields of the given bean.
-
-
-
Method Detail
-
initializeFields
public void initializeFields(java.lang.Object element)
Description copied from interface:PageObjectFieldInitializer
Initializes the fields of the given bean.- Specified by:
initializeFields
in interfacePageObjectFieldInitializer
- Parameters:
element
- the bean which should be initialized.
-
-