public class MyAboutMePage extends BaseWebPage implements LoadablePage
driver, logger, previousPage| Constructor and Description |
|---|
MyAboutMePage(org.openqa.selenium.WebDriver driver,
WebPage previous) |
| Modifier and Type | Method and Description |
|---|---|
MyAboutMePage |
assertBioMatches(String expectedBioRegex) |
MyAboutMePage |
assertSocialButtonIsDisplayed(String social) |
MyAboutMePage |
assertSocialButtonIsLink(String social) |
SearchResultsPage |
doSearch(String searchQuery) |
static String |
getRelativeUrl() |
protected org.openqa.selenium.WebElement |
getSocialIcon(String social) |
protected void |
waitUntilIsLoaded()
Dumb wait until the HTML body element is visible.
|
getCurrentUrl, getElement, getElements, getIdentifyingLocator, getTitleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitloadgetCurrentUrl, getTitlepublic MyAboutMePage(org.openqa.selenium.WebDriver driver,
WebPage previous)
public static String getRelativeUrl()
getRelativeUrl in interface LoadablePageWebPage.BASE_URLpublic SearchResultsPage doSearch(String searchQuery)
public MyAboutMePage assertBioMatches(String expectedBioRegex)
public MyAboutMePage assertSocialButtonIsDisplayed(String social)
public MyAboutMePage assertSocialButtonIsLink(String social)
protected org.openqa.selenium.WebElement getSocialIcon(String social)
protected void waitUntilIsLoaded()
BaseWebPageBaseWebPage.getIdentifyingLocator().waitUntilIsLoaded in class BaseWebPageCopyright © 2015. All rights reserved.