public class WebDriverMultiSelectElement extends WebDriverElement implements MultiSelectElement
MultiSelectElement.defaultTimeout, driver, locatable, pageBinder, timeouts, TO_LOCATABLE| Constructor and Description |
|---|
WebDriverMultiSelectElement(org.openqa.selenium.By locator) |
WebDriverMultiSelectElement(org.openqa.selenium.By locator,
TimeoutType defaultTimeout) |
WebDriverMultiSelectElement(org.openqa.selenium.By locator,
WebDriverLocatable parent) |
WebDriverMultiSelectElement(org.openqa.selenium.By locator,
WebDriverLocatable parent,
TimeoutType timeoutType) |
WebDriverMultiSelectElement(WebDriverLocatable locatable,
TimeoutType timeoutType) |
| Modifier and Type | Method and Description |
|---|---|
List<Option> |
getAllOptions()
All options
|
List<Option> |
getSelected()
Selected options.
|
MultiSelectElement |
select(Option option)
Add given option to the current selection.
|
MultiSelectElement |
selectAll()
Add all options to the current selection.
|
MultiSelectElement |
unselect(Option option)
Remove given option from the current selection
|
MultiSelectElement |
unselectAll()
Remove all options from the current selection
|
asWebElement, bind, clear, click, createTimout, find, find, find, find, findAll, findAll, findAll, findAll, getAttribute, getCssClasses, getDefaultTimeout, getId, getLocation, getSize, getTagName, getText, getValue, hasAttribute, hasClass, isEnabled, isPresent, isSelected, isVisible, javascript, search, select, timed, timeout, toggle, toLocatable, toString, type, waitForWebElement, waitForWebElement, withTimeoutclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclear, click, find, findAll, getAttribute, getCssClasses, getId, getLocation, getSize, getTagName, getText, getValue, hasAttribute, hasClass, isEnabled, isPresent, isSelected, isVisible, javascript, select, timed, toggle, type, withTimeoutfind, find, find, findAll, findAll, findAllsearchpublic WebDriverMultiSelectElement(org.openqa.selenium.By locator)
public WebDriverMultiSelectElement(org.openqa.selenium.By locator,
TimeoutType defaultTimeout)
public WebDriverMultiSelectElement(org.openqa.selenium.By locator,
WebDriverLocatable parent)
public WebDriverMultiSelectElement(WebDriverLocatable locatable, TimeoutType timeoutType)
public WebDriverMultiSelectElement(org.openqa.selenium.By locator,
WebDriverLocatable parent,
TimeoutType timeoutType)
public List<Option> getAllOptions()
MultiSelectElementgetAllOptions in interface MultiSelectElementpublic List<Option> getSelected()
MultiSelectElementgetSelected in interface MultiSelectElementpublic MultiSelectElement select(Option option)
MultiSelectElementselect in interface MultiSelectElementoption - option to addpublic MultiSelectElement unselect(Option option)
MultiSelectElementunselect in interface MultiSelectElementoption - option to removepublic MultiSelectElement selectAll()
MultiSelectElementselectAll in interface MultiSelectElementpublic MultiSelectElement unselectAll()
MultiSelectElementunselectAll in interface MultiSelectElementCopyright © 2015 Atlassian. All rights reserved.