com.atlassian.confluence.pageobjects.component.menu
Class AUIDropdownMenu
java.lang.Object
com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
com.atlassian.confluence.pageobjects.component.menu.AUIDropdownMenu
- All Implemented Interfaces:
- Menu, PageComponent
- Direct Known Subclasses:
- AddMenu, BrowseMenu, ConfluenceUserMenu, CreateMenu, HelpMenu, SpacesMenu, ToolsMenu
public class AUIDropdownMenu
- extends ConfluenceAbstractPageComponent
- implements Menu
Represents any dropdown menu created via AUI.
- Since:
- 4.1
TODO replace with AuiDropdown2, when it's useful
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
menuTrigger
protected org.openqa.selenium.WebElement menuTrigger
menuContainerLocator
protected org.openqa.selenium.By menuContainerLocator
AUIDropdownMenu
public AUIDropdownMenu(java.lang.String triggerId)
initialise
public void initialise()
isOpen
public boolean isOpen()
open
public AUIDropdownMenu open()
close
public AUIDropdownMenu close()
isMostRightMenu
public boolean isMostRightMenu()
- Verifies if the menu represented is the first one starting from the right of the page
(considering only menus aligned on the same container, not all the menus in the page)
getMenuContainer
public org.openqa.selenium.WebElement getMenuContainer()
- Specified by:
getMenuContainer
in interface Menu
getMenuItem
public ConfluenceMenuItem getMenuItem(org.openqa.selenium.By by)
click
public java.lang.Object click(java.lang.Class<? extends MenuItem> item,
java.lang.Object... args)
- Specified by:
click
in interface Menu
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2003-2013 Atlassian. All Rights Reserved.