Java org.openqa.selenium.support PageFactory fields, constructors, methods, implement or subclass

Example usage for Java org.openqa.selenium.support PageFactory fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.openqa.selenium.support PageFactory.

The text is from its open source code.

Subclass

org.openqa.selenium.support.PageFactory has subclasses.
Click this link to see all its subclasses.

Method

TinitElements(WebDriver driver, Class pageClassToProxy)
Instantiate an instance of the given class, and set a lazy proxy for each of the WebElement and List<WebElement> fields that have been declared, assuming that the field name is also the HTML element's "id" or "name".
voidinitElements(WebDriver driver, Object page)
As #initElements(WebDriver,Class) but will only replace the fields of an already instantiated Page Object.
voidinitElements(ElementLocatorFactory factory, Object page)
Similar to the other "initElements" methods, but takes an ElementLocatorFactory which is used for providing the mechanism for finding elements.
voidinitElements(FieldDecorator decorator, Object page)
Similar to the other "initElements" methods, but takes an FieldDecorator which is used for decorating each of the fields.