com.atlassian.bamboo.webdriver.components
Class BambooHeader
java.lang.Object
com.atlassian.bamboo.webdriver.components.BambooHeader
- All Implemented Interfaces:
- com.atlassian.pageobjects.component.Header
public class BambooHeader
- extends java.lang.Object
- implements com.atlassian.pageobjects.component.Header
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
driver
@Inject
protected com.atlassian.webdriver.AtlassianWebDriver driver
pageBinder
@Inject
protected com.atlassian.pageobjects.PageBinder pageBinder
header
protected com.atlassian.pageobjects.elements.PageElement header
menu
protected com.atlassian.pageobjects.elements.PageElement menu
userInfoContainer
protected com.atlassian.pageobjects.elements.PageElement userInfoContainer
userInfoDropdown
protected BambooHeader.UserInfoDropDown userInfoDropdown
BambooHeader
public BambooHeader()
isLoggedIn
public boolean isLoggedIn()
- Specified by:
isLoggedIn
in interface com.atlassian.pageobjects.component.Header
isAdmin
public boolean isAdmin()
getLoggedInUsername
public java.lang.String getLoggedInUsername()
logout
public <M extends com.atlassian.pageobjects.Page> M logout(java.lang.Class<M> nextPage)
- Specified by:
logout
in interface com.atlassian.pageobjects.component.Header
getWebSudoBanner
public com.atlassian.pageobjects.component.WebSudoBanner getWebSudoBanner()
- Specified by:
getWebSudoBanner
in interface com.atlassian.pageobjects.component.Header
logout
public BambooDashboardPage logout()
- Default logout.
- Returns:
- Bamboo dashboard
Copyright © 2012 Atlassian. All Rights Reserved.