com.atlassian.pageobjects.elements
Interface Option

All Known Implementing Classes:
Options.FullOption, Options.IdOption, Options.TextOption, Options.ValueOption

public interface Option

An option in select and multi-select components. Depending on the context, not all of the option properties may be set, but at least one of: id/value/text should not be null.


Method Summary
 String id()
          Option ID.
 String text()
          Text between the option tags
 String value()
          Option value, which is actually its unique key in the collection of options.
 

Method Detail

id

String id()
Option ID.

Returns:
id

value

String value()
Option value, which is actually its unique key in the collection of options.

Returns:
value

text

String text()
Text between the option tags

Returns:
text


Copyright © 2014 Atlassian. All rights reserved.