P - The configured Page.PF - The PageFactory that build this page.public interface Page<P extends Page,PF extends PageFactory>
AbstractPage| Modifier and Type | Method and Description |
|---|---|
MethodContext |
getContext()
Returns the context of the Method annotated with
Test. |
String |
getEndpoint()
Returns the endpoint that was configured for the current test run.
|
URL |
getInitialUrl()
Returns the URL that was used during page initialization.
|
Page<P,PF> |
getPage()
Returns this Page.
|
PF |
getPageFactory()
The PageFactory instance that built this Page.
|
org.openqa.selenium.WebDriver |
getWebDriver()
Returns the
WebDriver that has been configured
for this test run. |
MethodContext getContext()
Test.String getEndpoint()
URL getInitialUrl()
PF getPageFactory()
org.openqa.selenium.WebDriver getWebDriver()
WebDriver that has been configured
for this test run.WebDriver.Copyright © 2015. All rights reserved.