com.atlassian.confluence.pageobjects.component.header
Class ConfluenceHeader

java.lang.Object
  extended by com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
      extended by com.atlassian.confluence.pageobjects.component.header.ConfluenceHeader
All Implemented Interfaces:
PageComponent, com.atlassian.pageobjects.component.Header

public class ConfluenceHeader
extends ConfluenceAbstractPageComponent
implements com.atlassian.pageobjects.component.Header

The header that is visible on all pages.

Since:
4.1

Field Summary
 
Fields inherited from class com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
driver, frameExecutor, pageBinder, pageElementFinder, timeouts, waiter
 
Constructor Summary
ConfluenceHeader()
           
 
Method Summary
 void clickLogo()
          The Logo can go to several different places, so we need a method that doesn't bind straight to a page.
 boolean contains(java.lang.String elementId)
           
 org.openqa.selenium.WebElement getCreateButton()
           
 QuickSearch getQuickSearch()
           
 com.atlassian.pageobjects.component.WebSudoBanner getWebSudoBanner()
           
 WorkboxHeaderItem getWorkboxHeaderItem()
           
 boolean hasVisibleCreateButton()
           
 boolean isAdmin()
           
 boolean isLoggedIn()
           
<M extends com.atlassian.pageobjects.Page>
M
logout(java.lang.Class<M> nextPage)
           
 BrowseMenu openBrowseMenu()
           
 CreateMenu openCreateMenu()
           
 HelpMenu openHelpMenu()
           
 SpacesMenu openSpacesMenu()
           
 ConfluenceUserMenu openUserMenu()
           
 
Methods inherited from class com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
getComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfluenceHeader

public ConfluenceHeader()
Method Detail

isLoggedIn

public boolean isLoggedIn()
Specified by:
isLoggedIn in interface com.atlassian.pageobjects.component.Header

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

isAdmin

public boolean isAdmin()

openUserMenu

public ConfluenceUserMenu openUserMenu()

openBrowseMenu

public BrowseMenu openBrowseMenu()

openSpacesMenu

public SpacesMenu openSpacesMenu()

getQuickSearch

public QuickSearch getQuickSearch()

openHelpMenu

public HelpMenu openHelpMenu()

getCreateButton

public org.openqa.selenium.WebElement getCreateButton()

hasVisibleCreateButton

public boolean hasVisibleCreateButton()

contains

public boolean contains(java.lang.String elementId)

openCreateMenu

public CreateMenu openCreateMenu()

getWorkboxHeaderItem

public WorkboxHeaderItem getWorkboxHeaderItem()

clickLogo

public void clickLogo()
The Logo can go to several different places, so we need a method that doesn't bind straight to a page.



Copyright © 2003-2014 Atlassian. All Rights Reserved.