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(String elementId)
           
 org.openqa.selenium.WebElement getCreateButton()
          Deprecated. since 5.5. Use getCreateButtonElement().
 com.atlassian.pageobjects.elements.PageElement getCreateButtonElement()
          Waits for the create button to become visible, then returns it as a PageElement.
 com.atlassian.pageobjects.elements.query.TimedCondition getCreateButtonVisibility()
           
 QuickSearch getQuickSearch()
           
 com.atlassian.pageobjects.component.WebSudoBanner getWebSudoBanner()
           
 WorkboxHeaderItem getWorkboxHeaderItem()
           
 boolean hasVisibleCreateButton()
          Deprecated. since 5.5. Use getCreateButtonVisibility()
 boolean isAdmin()
           
 boolean isLoggedIn()
           
<M extends com.atlassian.pageobjects.Page>
M
logout(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(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

@Deprecated
public org.openqa.selenium.WebElement getCreateButton()
Deprecated. since 5.5. Use getCreateButtonElement().

Waits for the create button to become visible, then returns it as a WebElement.


getCreateButtonElement

public com.atlassian.pageobjects.elements.PageElement getCreateButtonElement()
Waits for the create button to become visible, then returns it as a PageElement.


getCreateButtonVisibility

public com.atlassian.pageobjects.elements.query.TimedCondition getCreateButtonVisibility()

hasVisibleCreateButton

@Deprecated
public boolean hasVisibleCreateButton()
Deprecated. since 5.5. Use getCreateButtonVisibility()

Returns true if the create button is visible at the current instant in time, false otherwise.


contains

public boolean contains(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–2015 Atlassian. All rights reserved.