public class Select2Element
extends com.atlassian.pageobjects.elements.WebDriverElement
Modifier and Type | Field and Description |
---|---|
protected com.atlassian.pageobjects.elements.PageElementFinder |
elementFinder |
Constructor and Description |
---|
Select2Element(org.openqa.selenium.By locator) |
Select2Element(org.openqa.selenium.By locator,
com.atlassian.pageobjects.elements.timeout.TimeoutType timeoutType) |
Modifier and Type | Method and Description |
---|---|
int |
countChoices() |
Select2Element |
enterValue(String value) |
Select2Element |
enterValue(String value,
com.google.common.base.Predicate<com.atlassian.pageobjects.elements.PageElement> predicate)
Enter value and select the one that matches the predicate
|
Select2Element |
enterValue(String value,
String name) |
com.atlassian.pageobjects.elements.PageElement |
getChoice() |
com.atlassian.pageobjects.elements.PageElement |
getContainer() |
com.atlassian.pageobjects.elements.PageElement |
getDropDown() |
com.atlassian.pageobjects.elements.PageElement |
getDropDownInput() |
String |
getSelectedValue() |
List<String> |
getValues() |
<T> List<T> |
getValues(com.google.common.base.Function<com.atlassian.pageobjects.elements.PageElement,T> f) |
com.atlassian.pageobjects.elements.query.TimedCondition |
isDisabled() |
boolean |
isVisible() |
Select2Element |
openDropDown() |
Select2Element |
type(String value) |
asWebElement, clear, click, createTimout, find, find, find, find, findAll, findAll, findAll, findAll, getAttribute, getLocation, getSize, getTagName, getText, getValue, hasAttribute, hasClass, isEnabled, isPresent, isSelected, javascript, select, timed, timeout, toggle, toString, type, waitForWebElement, withTimeout
@Inject protected com.atlassian.pageobjects.elements.PageElementFinder elementFinder
@Inject public Select2Element(org.openqa.selenium.By locator)
@Inject public Select2Element(org.openqa.selenium.By locator, com.atlassian.pageobjects.elements.timeout.TimeoutType timeoutType)
public boolean isVisible()
isVisible
in interface com.atlassian.pageobjects.elements.PageElement
isVisible
in class com.atlassian.pageobjects.elements.WebDriverElement
public com.atlassian.pageobjects.elements.PageElement getContainer()
public com.atlassian.pageobjects.elements.PageElement getChoice()
public com.atlassian.pageobjects.elements.PageElement getDropDown()
public com.atlassian.pageobjects.elements.PageElement getDropDownInput()
public Select2Element enterValue(String value)
public Select2Element enterValue(String value, String name)
public Select2Element enterValue(String value, com.google.common.base.Predicate<com.atlassian.pageobjects.elements.PageElement> predicate)
public Select2Element openDropDown()
public int countChoices()
public Select2Element type(String value)
@NotNull public <T> List<T> getValues(com.google.common.base.Function<com.atlassian.pageobjects.elements.PageElement,T> f)
public com.atlassian.pageobjects.elements.query.TimedCondition isDisabled()
public String getSelectedValue()
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.