P - The Page that extends this.public abstract class AbstractPage<P extends AbstractPage> extends Object implements Page<P>, PageAssertions<P>
| Modifier and Type | Field and Description |
|---|---|
protected MethodContext |
context |
protected org.openqa.selenium.WebDriver |
webDriver |
| Constructor and Description |
|---|
AbstractPage() |
| Modifier and Type | Method and Description |
|---|---|
P |
assertCurrentUrlPathStartsWith(String proposal)
Asserts that the WebDriver's current URL path starts with the proposal.
|
P |
handleInitialPageLoad()
Called when the Page is initially loaded in the WebDriver.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitassertPageIsViewableFromprotected org.openqa.selenium.WebDriver webDriver
protected MethodContext context
public P assertCurrentUrlPathStartsWith(String proposal)
PageAssertionsassertCurrentUrlPathStartsWith in interface PageAssertions<P extends AbstractPage>proposal - proposalpublic P handleInitialPageLoad()
PagehandleInitialPageLoad in interface Page<P extends AbstractPage>Copyright © 2015. All rights reserved.