public abstract class AbstractJiraPage extends Object implements com.atlassian.pageobjects.Page
Modifier and Type | Field and Description |
---|---|
protected com.atlassian.pageobjects.elements.PageElement |
body |
protected org.openqa.selenium.WebDriver |
driver |
protected com.atlassian.pageobjects.elements.PageElementFinder |
elementFinder |
protected org.openqa.selenium.JavascriptExecutor |
javascriptExecutor |
protected com.atlassian.pageobjects.elements.PageElement |
metaElement |
protected com.atlassian.pageobjects.PageBinder |
pageBinder |
protected com.atlassian.pageobjects.elements.timeout.Timeouts |
timeouts |
protected com.atlassian.webdriver.utils.element.WebDriverPoller |
webDriverPoller |
Constructor and Description |
---|
AbstractJiraPage() |
Modifier and Type | Method and Description |
---|---|
<P> P |
back(Class<P> binder,
Object... arguments) |
void |
doWait()
The default doWait for JIRA is defined in terms of
isAt() . |
void |
execKeyboardShortcut(CharSequence... keys) |
JiraHeader |
getHeader() |
String |
getPageTitle() |
String |
getXsrfToken() |
boolean |
isAdmin() |
abstract com.atlassian.pageobjects.elements.query.TimedCondition |
isAt()
Timed condition checking if we're at given page.
|
boolean |
isLoggedIn() |
@Inject protected com.atlassian.pageobjects.elements.timeout.Timeouts timeouts
@Inject protected com.atlassian.pageobjects.PageBinder pageBinder
@Inject protected com.atlassian.pageobjects.elements.PageElementFinder elementFinder
@Inject protected org.openqa.selenium.WebDriver driver
@Inject protected org.openqa.selenium.JavascriptExecutor javascriptExecutor
@Inject protected com.atlassian.webdriver.utils.element.WebDriverPoller webDriverPoller
protected com.atlassian.pageobjects.elements.PageElement body
protected com.atlassian.pageobjects.elements.PageElement metaElement
public JiraHeader getHeader()
public void doWait()
The default doWait for JIRA is defined in terms of isAt()
.
public void execKeyboardShortcut(CharSequence... keys)
public String getPageTitle()
public String getXsrfToken()
public abstract com.atlassian.pageobjects.elements.query.TimedCondition isAt()
public boolean isLoggedIn()
public boolean isAdmin()
Copyright © 2002-2022 Atlassian. All Rights Reserved.