Uses of Class
org.htmlunit.html.HtmlOption
-
Packages that use HtmlOption Package Description com.xceptance.xlt.api.actions Provides abstract super classes for different types of actions.org.htmlunit.html Classes specific to HTML pages, particularly theHtmlPage
which represents an HTML document and provides access to its content. -
-
Uses of HtmlOption in com.xceptance.xlt.api.actions
Methods in com.xceptance.xlt.api.actions with parameters of type HtmlOption Modifier and Type Method Description protected void
AbstractHtmlPageAction. loadPageBySelect(HtmlSelect select, HtmlOption option)
Loads the page by selecting an option form the given HTML select element.protected void
AbstractHtmlPageAction. loadPageBySelect(HtmlSelect select, HtmlOption option, long waitingTime)
Loads the page by selecting an option from the given HTML select element. -
Uses of HtmlOption in org.htmlunit.html
Methods in org.htmlunit.html that return HtmlOption Modifier and Type Method Description HtmlOption
HtmlSelect. getOption(int index)
Returns the indexed option.HtmlOption
HtmlSelect. getOptionByText(java.lang.String text)
Returns theHtmlOption
object that has the specified text.HtmlOption
HtmlSelect. getOptionByValue(java.lang.String value)
Returns theHtmlOption
object that corresponds to the specified value.Methods in org.htmlunit.html that return types with arguments of type HtmlOption Modifier and Type Method Description java.util.List<HtmlOption>
HtmlSelect. getOptions()
Returns all of the options in this select element.java.util.List<HtmlOption>
HtmlSelect. getSelectedOptions()
Returns all of the currently selected options.Methods in org.htmlunit.html with parameters of type HtmlOption Modifier and Type Method Description void
HtmlSelect. appendOption(HtmlOption newOption)
Add a new option at the end.int
HtmlSelect. indexOf(HtmlOption option)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.void
HtmlSelect. replaceOption(int index, HtmlOption newOption)
Replace an option at the given index with a new option.<P extends Page>
PHtmlSelect. setSelectedAttribute(HtmlOption selectedOption, boolean isSelected)
Sets the "selected" state of the specified option.<P extends Page>
PHtmlSelect. setSelectedAttribute(HtmlOption selectedOption, boolean isSelected, boolean invokeOnFocus, boolean shiftKey, boolean ctrlKey, boolean isClick)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Sets the "selected" state of the specified option.
-