public class PageObjects
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NO_WEBDRIVER_CONSTRUCTOR_MESSAGE |
| Constructor and Description |
|---|
PageObjects(org.openqa.selenium.WebDriver driver) |
| Modifier and Type | Method and Description |
|---|---|
<T extends PageObject> |
ofType(java.lang.Class<T> pageObjectClass) |
static PageObjects |
usingDriver(org.openqa.selenium.WebDriver driver) |
public static final java.lang.String NO_WEBDRIVER_CONSTRUCTOR_MESSAGE
public static PageObjects usingDriver(org.openqa.selenium.WebDriver driver)
public <T extends PageObject> T ofType(java.lang.Class<T> pageObjectClass)