com.atlassian.pageobjects.elements
Interface SelectElement

All Superinterfaces:
PageElement, PageElementFinder
All Known Implementing Classes:
WebDriverSelectElement

public interface SelectElement
extends PageElement

Represents a standard select HTML components.


Method Summary
 List<Option> getAllOptions()
          All options
 Option getSelected()
          Selected option of this select.
 SelectElement select(Option option)
          Select given option.
 
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
 
Methods inherited from interface com.atlassian.pageobjects.elements.PageElementFinder
find, find, find, findAll, findAll, findAll
 

Method Detail

getAllOptions

List<Option> getAllOptions()
All options

Returns:
all options of this select

getSelected

Option getSelected()
Selected option of this select.

Returns:
selected option of this select

select

SelectElement select(Option option)
Select given option. Options can be generated by using the (@Link Options) factory

Parameters:
option - option to select
Returns:
this select instance


Copyright © 2014 Atlassian. All rights reserved.