Package net.serenitybdd.core.pages
Class PageObjects
java.lang.Object
net.serenitybdd.core.pages.PageObjects
public class PageObjects
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NO_WEBDRIVER_CONSTRUCTOR_MESSAGE
-
Constructor Summary
Constructors Constructor Description PageObjects(org.openqa.selenium.WebDriver driver)
-
Method Summary
Modifier and Type Method Description <T extends PageObject>
TofType(java.lang.Class<T> pageObjectClass)
static PageObjects
usingDriver(org.openqa.selenium.WebDriver driver)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
NO_WEBDRIVER_CONSTRUCTOR_MESSAGE
public static final java.lang.String NO_WEBDRIVER_CONSTRUCTOR_MESSAGE- See Also:
- Constant Field Values
-
-
Constructor Details
-
PageObjects
public PageObjects(org.openqa.selenium.WebDriver driver)
-
-
Method Details
-
usingDriver
-
ofType
-