public class ConfluenceHeader extends ConfluenceAbstractPageComponent implements com.atlassian.pageobjects.component.Header
driver, frameExecutor, pageBinder, pageElementFinder, timeouts, waiter
Constructor and Description |
---|
ConfluenceHeader() |
Modifier and Type | Method and Description |
---|---|
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> |
logout(Class<M> nextPage) |
BrowseMenu |
openBrowseMenu() |
CreateMenu |
openCreateMenu() |
HelpMenu |
openHelpMenu() |
SpacesMenu |
openSpacesMenu() |
ConfluenceUserMenu |
openUserMenu() |
getComponent
public boolean isLoggedIn()
isLoggedIn
in interface com.atlassian.pageobjects.component.Header
public <M extends com.atlassian.pageobjects.Page> M logout(Class<M> nextPage)
logout
in interface com.atlassian.pageobjects.component.Header
public com.atlassian.pageobjects.component.WebSudoBanner getWebSudoBanner()
getWebSudoBanner
in interface com.atlassian.pageobjects.component.Header
public boolean isAdmin()
public ConfluenceUserMenu openUserMenu()
public BrowseMenu openBrowseMenu()
public SpacesMenu openSpacesMenu()
public QuickSearch getQuickSearch()
public HelpMenu openHelpMenu()
@Deprecated public org.openqa.selenium.WebElement getCreateButton()
getCreateButtonElement()
.WebElement
.public com.atlassian.pageobjects.elements.PageElement getCreateButtonElement()
PageElement
.public com.atlassian.pageobjects.elements.query.TimedCondition getCreateButtonVisibility()
@Deprecated public boolean hasVisibleCreateButton()
getCreateButtonVisibility()
public boolean contains(String elementId)
public CreateMenu openCreateMenu()
public WorkboxHeaderItem getWorkboxHeaderItem()
public void clickLogo()
Copyright © 2003–2015 Atlassian. All rights reserved.