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, getTitle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
load
getCurrentUrl, getTitle
public MyAboutMePage(org.openqa.selenium.WebDriver driver, WebPage previous)
public static String getRelativeUrl()
getRelativeUrl
in interface LoadablePage
WebPage.BASE_URL
public 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()
BaseWebPage
BaseWebPage.getIdentifyingLocator()
.waitUntilIsLoaded
in class BaseWebPage
Copyright © 2015. All rights reserved.