public interface OptionElement extends Element
Provides access to the attributes of the option element.
Element.AlignTo| Modifier and Type | Method and Description |
|---|---|
boolean |
isSelected()
Returns
true if the current option element is selected. |
void |
select()
Selects the current option element.
|
void |
unselect()
Un-selects the current option element.
|
attributeNodes, attributes, attributeValue, blur, boundingClientRect, focus, hasAttribute, innerHtml, innerHtml, innerText, innerText, outerHtml, outerHtml, putAttribute, removeAttribute, scrollIntoViewappendChild, children, click, close, compareDocumentPosition, document, evaluate, evaluate, insertChild, nextSibling, nodeName, nodeValue, nodeValue, parent, previousSibling, removeChild, replaceChild, textContent, textContent, type, xPathaddEventListener, dispatch, eventListeners, removeEventListenerfindElementByClassName, findElementByCssSelector, findElementById, findElementByName, findElementByTagName, findElementsByClassName, findElementsByCssSelector, findElementsById, findElementsByName, findElementsByTagNameboolean isSelected()
true if the current option element is selected.ObjectClosedException - when this instance is closedvoid select()
ObjectClosedException - when this instance is closedvoid unselect()
ObjectClosedException - when this instance is closed