Package net.serenitybdd.core.pages
Class PageObjects
- java.lang.Object
-
- net.serenitybdd.core.pages.PageObjects
-
public class PageObjects extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
NO_WEBDRIVER_CONSTRUCTOR_MESSAGE
-
Constructor Summary
Constructors Constructor Description PageObjects(org.openqa.selenium.WebDriver driver)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends PageObject>
TofType(Class<T> pageObjectClass)
static PageObjects
usingDriver(org.openqa.selenium.WebDriver driver)
-
-
-
Field Detail
-
NO_WEBDRIVER_CONSTRUCTOR_MESSAGE
public static final String NO_WEBDRIVER_CONSTRUCTOR_MESSAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
usingDriver
public static PageObjects usingDriver(org.openqa.selenium.WebDriver driver)
-
ofType
public <T extends PageObject> T ofType(Class<T> pageObjectClass)
-
-