public class DropDown extends Object
Modifier and Type | Field and Description |
---|---|
protected com.atlassian.pageobjects.elements.PageElementFinder |
elementFinder |
protected com.atlassian.pageobjects.PageBinder |
pageBinder |
Constructor and Description |
---|
DropDown(org.openqa.selenium.By triggerLocator,
org.openqa.selenium.By dropdownLocator) |
Modifier and Type | Method and Description |
---|---|
<T> T |
click(org.openqa.selenium.By locator,
Class<T> next,
Object... args) |
DropDown |
close() |
protected com.atlassian.pageobjects.elements.PageElement |
dropDown() |
protected com.atlassian.pageobjects.elements.PageElement |
getDropDownItem(org.openqa.selenium.By locator) |
boolean |
hasItemBy(org.openqa.selenium.By locator) |
boolean |
hasItemById(String id) |
boolean |
isExists() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isExistsTimed() |
boolean |
isOpen() |
DropDown |
open() |
void |
openAndClick(org.openqa.selenium.By locator) |
<T> T |
openAndClick(org.openqa.selenium.By locator,
Class<T> next,
Object... args) |
protected com.atlassian.pageobjects.elements.PageElement |
trigger() |
void |
waitForClose() |
void |
waitForOpen() |
@Inject protected com.atlassian.pageobjects.PageBinder pageBinder
@Inject protected com.atlassian.pageobjects.elements.PageElementFinder elementFinder
public DropDown(org.openqa.selenium.By triggerLocator, org.openqa.selenium.By dropdownLocator)
protected com.atlassian.pageobjects.elements.PageElement trigger()
protected com.atlassian.pageobjects.elements.PageElement dropDown()
public DropDown open()
public <T> T openAndClick(org.openqa.selenium.By locator, Class<T> next, Object... args)
public void openAndClick(org.openqa.selenium.By locator)
public boolean isExists()
public com.atlassian.pageobjects.elements.query.TimedCondition isExistsTimed()
public boolean hasItemById(String id)
public boolean hasItemBy(org.openqa.selenium.By locator)
protected com.atlassian.pageobjects.elements.PageElement getDropDownItem(org.openqa.selenium.By locator)
public void waitForOpen()
public void waitForClose()
public boolean isOpen()
public DropDown close()
Copyright © 2002-2019 Atlassian. All Rights Reserved.