public abstract class PublishPage extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.openqa.selenium.WebDriver |
webDriver |
protected WebElementUtils |
webElementUtils |
| Constructor and Description |
|---|
PublishPage() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
adjustContentPath(String path)
Removes '-mobile' from path if test does not run on mobile device.
|
abstract String |
getContentPath() |
String |
getFullUrl() |
abstract String |
getPageTitle() |
boolean |
isDisplayed() |
void |
open()
Opens the page in a new browser window.
|
@Inject protected org.openqa.selenium.WebDriver webDriver
@Inject protected WebElementUtils webElementUtils
public String getFullUrl()
protected String adjustContentPath(String path)
path - path to adjustpublic abstract String getContentPath()
public abstract String getPageTitle()
public boolean isDisplayed()
public void open()
Copyright © 2016–2018 Cognifide Ltd.. All rights reserved.