public abstract class BasePage extends Object implements com.atlassian.pageobjects.Page
| Modifier and Type | Field and Description |
|---|---|
protected com.atlassian.pageobjects.elements.PageElement |
body |
protected com.atlassian.webdriver.AtlassianWebDriver |
driver |
protected com.atlassian.pageobjects.elements.PageElementFinder |
elementFinder |
protected com.atlassian.pageobjects.elements.PageElement |
html |
protected com.atlassian.pageobjects.PageBinder |
pageBinder |
protected com.atlassian.pageobjects.elements.timeout.Timeouts |
timeouts |
| Constructor and Description |
|---|
BasePage() |
| Modifier and Type | Method and Description |
|---|---|
void |
doWait() |
protected String |
getBaseURL() |
LicenseBanner |
getLicenseBanner() |
boolean |
isElementPresent(org.openqa.selenium.By by) |
boolean |
isHere() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isHereTimed() |
boolean |
isHtmlPresent(String text) |
static boolean |
isOnPage(org.openqa.selenium.WebDriver driver,
com.atlassian.pageobjects.Page page) |
boolean |
isTextPresent(String text) |
protected void |
setText(com.atlassian.pageobjects.elements.PageElement element,
String text) |
void |
waitForText(String message,
String text,
long timeout,
TimeUnit timeUnit) |
@Inject protected com.atlassian.webdriver.AtlassianWebDriver driver
@Inject protected com.atlassian.pageobjects.PageBinder pageBinder
@Inject protected com.atlassian.pageobjects.elements.PageElementFinder elementFinder
@Inject protected com.atlassian.pageobjects.elements.timeout.Timeouts timeouts
protected com.atlassian.pageobjects.elements.PageElement html
protected com.atlassian.pageobjects.elements.PageElement body
public static boolean isOnPage(org.openqa.selenium.WebDriver driver,
com.atlassian.pageobjects.Page page)
public LicenseBanner getLicenseBanner()
public boolean isElementPresent(org.openqa.selenium.By by)
public boolean isHtmlPresent(String text)
public boolean isTextPresent(String text)
public void doWait()
public boolean isHere()
public com.atlassian.pageobjects.elements.query.TimedCondition isHereTimed()
protected String getBaseURL()
protected void setText(com.atlassian.pageobjects.elements.PageElement element,
String text)
Copyright © 2015 Atlassian Support. All rights reserved.