public class

DropDown

extends Object
java.lang.Object
   ↳ com.atlassian.jira.pageobjects.components.DropDown
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Simple dropdown that has a "trigger" element that opens a "target" element (generally some kind of menu).

Summary

Fields
protected PageElementFinder elementFinder
protected PageBinder pageBinder
Public Constructors
DropDown(By triggerLocator, By dropdownLocator)
Public Methods
<T> T click(By locator, Class<T> next, Object... args)
DropDown close()
boolean hasItemBy(By locator)
boolean hasItemById(String id)
boolean isExists()
boolean isOpen()
DropDown open()
void openAndClick(By locator)
<T> T openAndClick(By locator, Class<T> next, Object... args)
void waitForClose()
void waitForOpen()
Protected Methods
PageElement dropDown()
PageElement trigger()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected PageElementFinder elementFinder

protected PageBinder pageBinder

Public Constructors

public DropDown (By triggerLocator, By dropdownLocator)

Public Methods

public T click (By locator, Class<T> next, Object... args)

public DropDown close ()

public boolean hasItemBy (By locator)

public boolean hasItemById (String id)

public boolean isExists ()

public boolean isOpen ()

public DropDown open ()

public void openAndClick (By locator)

public T openAndClick (By locator, Class<T> next, Object... args)

public void waitForClose ()

public void waitForOpen ()

Protected Methods

protected PageElement dropDown ()

protected PageElement trigger ()