com.atlassian.pageobjects.elements
Class WebDriverSelectElement
java.lang.Object
com.atlassian.pageobjects.elements.WebDriverElement
com.atlassian.pageobjects.elements.WebDriverSelectElement
- All Implemented Interfaces:
- PageElement, PageElementFinder, SelectElement
public class WebDriverSelectElement
- extends WebDriverElement
- implements SelectElement
Implementation of SelectElement
| Methods inherited from class com.atlassian.pageobjects.elements.WebDriverElement |
asWebElement, clear, click, createTimout, find, find, find, find, findAll, findAll, findAll, findAll, getAttribute, getLocation, getSize, getTagName, getText, getValue, hasAttribute, hasClass, isEnabled, isPresent, isSelected, isVisible, javascript, select, timed, timeout, toggle, toString, type, waitForWebElement, withTimeout |
| Methods inherited from interface com.atlassian.pageobjects.elements.PageElement |
clear, click, find, findAll, getAttribute, getLocation, getSize, getTagName, getText, getValue, hasAttribute, hasClass, isEnabled, isPresent, isSelected, isVisible, javascript, select, timed, toggle, type, withTimeout |
WebDriverSelectElement
public WebDriverSelectElement(org.openqa.selenium.By locator)
WebDriverSelectElement
public WebDriverSelectElement(org.openqa.selenium.By locator,
TimeoutType defaultTimeout)
WebDriverSelectElement
public WebDriverSelectElement(WebDriverLocatable locatable,
TimeoutType timeoutType)
WebDriverSelectElement
public WebDriverSelectElement(org.openqa.selenium.By locator,
WebDriverLocatable parent)
WebDriverSelectElement
public WebDriverSelectElement(org.openqa.selenium.By locator,
WebDriverLocatable parent,
TimeoutType timeoutType)
getAllOptions
public List<Option> getAllOptions()
- Description copied from interface:
SelectElement
- All options
- Specified by:
getAllOptions in interface SelectElement
- Returns:
- all options of this select
getSelected
public Option getSelected()
- Description copied from interface:
SelectElement
- Selected option of this select.
- Specified by:
getSelected in interface SelectElement
- Returns:
- selected option of this select
select
public SelectElement select(Option option)
- Description copied from interface:
SelectElement
- Select given option. Options can be generated by using the (@Link Options) factory
- Specified by:
select in interface SelectElement
- Parameters:
option - option to select
- Returns:
- this select instance
Copyright © 2014 Atlassian. All rights reserved.