Class AuiDropDown2Menu
- java.lang.Object
-
- com.atlassian.pageobjects.elements.WebDriverElement
-
- com.atlassian.bamboo.pageobjects.elements.AuiDropDown2Menu
-
- All Implemented Interfaces:
com.atlassian.pageobjects.components.ActivatedComponent<AuiDropDown2Menu>
,com.atlassian.pageobjects.elements.PageElement
,com.atlassian.pageobjects.elements.PageElementFinder
,com.atlassian.pageobjects.elements.search.PageElementSearch
- Direct Known Subclasses:
AddPermissionPrincipalsComponent.SelectedRightsDropdownMenu
,BambooHeader.SpecsDropDown
,BambooHeader.UserInfoDropDown
public class AuiDropDown2Menu extends com.atlassian.pageobjects.elements.WebDriverElement implements com.atlassian.pageobjects.components.ActivatedComponent<AuiDropDown2Menu>, com.atlassian.pageobjects.elements.PageElement
Represents a DropDown2 built via AUI. Deserves to be moved to atlassian-pageobjects-elements.
-
-
Field Summary
Fields Modifier and Type Field Description protected com.atlassian.pageobjects.elements.PageElementFinder
elementFinder
-
Constructor Summary
Constructors Constructor Description AuiDropDown2Menu(org.openqa.selenium.By locator)
AuiDropDown2Menu(org.openqa.selenium.By locator, com.atlassian.pageobjects.elements.timeout.TimeoutType timeoutType)
AuiDropDown2Menu(org.openqa.selenium.By locator, com.atlassian.pageobjects.elements.WebDriverLocatable parent)
AuiDropDown2Menu(org.openqa.selenium.By locator, com.atlassian.pageobjects.elements.WebDriverLocatable parent, com.atlassian.pageobjects.elements.timeout.TimeoutType timeoutType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuiDropDown2Menu
close()
List<String>
getItems()
com.atlassian.pageobjects.elements.PageElement
getTrigger()
com.atlassian.pageobjects.elements.PageElement
getView()
void
initialize()
boolean
isOpen()
AuiDropDown2Menu
open()
-
Methods inherited from class com.atlassian.pageobjects.elements.WebDriverElement
asWebElement, bind, clear, click, createTimout, find, find, find, find, findAll, findAll, findAll, findAll, getAttribute, getCssClasses, getDefaultTimeout, getId, getLocation, getSize, getTagName, getText, getValue, hasAttribute, hasClass, isEnabled, isPresent, isSelected, isVisible, javascript, search, select, timed, timeout, toLocatable, toString, type, waitForWebElement, waitForWebElement, withTimeout
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.atlassian.pageobjects.elements.PageElement
asWebElement, clear, click, find, findAll, getAttribute, getCssClasses, getId, getLocation, getSize, getTagName, getText, getValue, hasAttribute, hasClass, isEnabled, isPresent, isSelected, isVisible, javascript, select, timed, type, withTimeout
-
-
-
-
Constructor Detail
-
AuiDropDown2Menu
@Inject public AuiDropDown2Menu(org.openqa.selenium.By locator)
- Parameters:
locator
- identifies the content of dropdown (aria-controls)
-
AuiDropDown2Menu
@Inject public AuiDropDown2Menu(org.openqa.selenium.By locator, com.atlassian.pageobjects.elements.timeout.TimeoutType timeoutType)
-
AuiDropDown2Menu
@Inject public AuiDropDown2Menu(org.openqa.selenium.By locator, com.atlassian.pageobjects.elements.WebDriverLocatable parent)
-
AuiDropDown2Menu
@Inject public AuiDropDown2Menu(org.openqa.selenium.By locator, com.atlassian.pageobjects.elements.WebDriverLocatable parent, com.atlassian.pageobjects.elements.timeout.TimeoutType timeoutType)
-
-
Method Detail
-
getTrigger
public com.atlassian.pageobjects.elements.PageElement getTrigger()
- Specified by:
getTrigger
in interfacecom.atlassian.pageobjects.components.ActivatedComponent<AuiDropDown2Menu>
-
getView
public com.atlassian.pageobjects.elements.PageElement getView()
- Specified by:
getView
in interfacecom.atlassian.pageobjects.components.ActivatedComponent<AuiDropDown2Menu>
-
open
public AuiDropDown2Menu open()
- Specified by:
open
in interfacecom.atlassian.pageobjects.components.ActivatedComponent<AuiDropDown2Menu>
-
isOpen
public boolean isOpen()
- Specified by:
isOpen
in interfacecom.atlassian.pageobjects.components.ActivatedComponent<AuiDropDown2Menu>
-
initialize
public void initialize()
-
close
public AuiDropDown2Menu close()
-
-