public class JiraAuiDropdownMenu<T extends JiraAuiDropdownMenu<T>> extends DropDown
Modifier and Type | Field and Description |
---|---|
protected com.atlassian.pageobjects.elements.PageElementFinder |
finder |
protected com.atlassian.pageobjects.PageBinder |
pageBinder |
protected com.atlassian.pageobjects.elements.PageElement |
triggerElement |
elementFinder
Constructor and Description |
---|
JiraAuiDropdownMenu(org.openqa.selenium.By triggerLocator,
org.openqa.selenium.By dropdownLocator) |
Modifier and Type | Method and Description |
---|---|
T |
close()
Closes dropdown by clicking trigger element again (toggling state)
|
protected com.atlassian.pageobjects.elements.PageElement |
getDropdown()
Gets dropdown page element
|
void |
initialize() |
T |
open()
Opens dropdown by clicking on trigger element
|
void |
waitUntilClose() |
void |
waitUntilOpen() |
click, dropDown, hasItemBy, hasItemById, isExists, isOpen, openAndClick, openAndClick, trigger, waitForClose, waitForOpen
@Inject protected com.atlassian.pageobjects.elements.PageElementFinder finder
@Inject protected com.atlassian.pageobjects.PageBinder pageBinder
protected com.atlassian.pageobjects.elements.PageElement triggerElement
public JiraAuiDropdownMenu(org.openqa.selenium.By triggerLocator, org.openqa.selenium.By dropdownLocator)
triggerLocator
- The locator to the trigger elementdropdownLocator
- The locator to the dropdown elementpublic void initialize()
public T open()
protected com.atlassian.pageobjects.elements.PageElement getDropdown()
public T close()
public void waitUntilOpen()
public void waitUntilClose()
Copyright © 2002-2015 Atlassian. All Rights Reserved.