public abstract class AuthorPage extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.openqa.selenium.WebDriver |
webDriver |
protected WebElementUtils |
webElementUtils |
| Constructor and Description |
|---|
AuthorPage() |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getContentPath() |
String |
getFullUrl() |
abstract String |
getPageTitle() |
boolean |
isDisplayed() |
void |
open()
Opens the page in a new browser window.
|
boolean |
openPageWithRefresh(int timeoutForRefreshing)
Tries opening the page with default
AemConfigKeys.PAGE_TITLE_TIMEOUT and additional
refreshing if the page was not opened with the first retry. |
@Inject protected org.openqa.selenium.WebDriver webDriver
@Inject protected WebElementUtils webElementUtils
public String getFullUrl()
public boolean openPageWithRefresh(int timeoutForRefreshing)
AemConfigKeys.PAGE_TITLE_TIMEOUT and additional
refreshing if the page was not opened with the first retry. Each next refresh will take
AemConfigKeys.PAGE_TITLE_TIMEOUT for verification if page was loaded.timeoutForRefreshing - additional timeout (in seconds) for page refreshing.true if page is loadedpublic abstract String getContentPath()
public abstract String getPageTitle()
public boolean isDisplayed()
public void open()
Copyright © 2016–2018 Cognifide Ltd.. All rights reserved.