public interface LoadablePage extends WebPage
Any implementor must implement (hide) getRelativeUrl()
.
Modifier and Type | Method and Description |
---|---|
static String |
getRelativeUrl() |
static <T extends LoadablePage> |
load(Class<T> loadablePageClass,
org.openqa.selenium.WebDriver driver)
Load the given LoadablePage.
|
getCurrentUrl, getTitle
static String getRelativeUrl()
WebPage.BASE_URL
static <T extends LoadablePage> T load(Class<T> loadablePageClass, org.openqa.selenium.WebDriver driver)
loadablePageClass
- the class object for the requested pagedriver
- org.openqa.selenium.WebDriverException
- if the page cannot be loadedIllegalStateException
- if the page cannot be instantiatedCopyright © 2015. All rights reserved.