Example usage for org.openqa.selenium.support PageFactory subclass-usage

List of usage examples for org.openqa.selenium.support PageFactory subclass-usage

Introduction

In this page you can find the example usage for org.openqa.selenium.support PageFactory subclass-usage.

Usage

From source file com.opera.core.systems.testing.TestingPageFactory.java

public class TestingPageFactory extends PageFactory {

    private static final Logger logger = Logger.getLogger(TestingPageFactory.class.getName());

    public static <T> T initElements(TestDriver driver, Pages pages, Class<T> pageClassToProxy) {
        T page = instantiatePage(driver, pages, pageClassToProxy);