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.ThemeSwitcherDropDown
,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
Modifier and TypeFieldDescriptionprotected com.atlassian.pageobjects.elements.PageElementFinder
Fields inherited from class com.atlassian.pageobjects.elements.WebDriverElement
defaultTimeout, driver, locatable, pageBinder, timeouts, TO_LOCATABLE
-
Constructor Summary
ConstructorDescriptionAuiDropDown2Menu
(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
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
Methods inherited from interface com.atlassian.pageobjects.elements.PageElementFinder
find, find, find, findAll, findAll, findAll
Methods inherited from interface com.atlassian.pageobjects.elements.search.PageElementSearch
search
-
Field Details
-
elementFinder
@Inject protected com.atlassian.pageobjects.elements.PageElementFinder elementFinder
-
-
Constructor Details
-
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 Details
-
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
- 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
-
getItems
-