|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.pageobjects.elements.WebDriverElement
com.atlassian.pageobjects.elements.WebDriverMultiSelectElement
public class WebDriverMultiSelectElement
Implementation of MultiSelectElement.
| Field Summary |
|---|
| Fields inherited from class com.atlassian.pageobjects.elements.WebDriverElement |
|---|
defaultTimeout, driver, locatable, pageBinder, timeouts |
| Constructor Summary | |
|---|---|
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)
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class com.atlassian.pageobjects.elements.WebDriverElement |
|---|
asWebElement, clear, click, createTimout, find, find, find, find, findAll, findAll, findAll, findAll, getAttribute, getLocation, getSize, getTagName, getText, getValue, hasAttribute, hasClass, isEnabled, isPresent, isSelected, isVisible, javascript, select, timed, timeout, toggle, toString, type, waitForWebElement, withTimeout |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 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 |
| Constructor Detail |
|---|
public 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)
| Method Detail |
|---|
public List<Option> getAllOptions()
MultiSelectElement
getAllOptions in interface MultiSelectElementpublic List<Option> getSelected()
MultiSelectElement
getSelected in interface MultiSelectElementpublic MultiSelectElement select(Option option)
MultiSelectElement
select in interface MultiSelectElementoption - option to add
public MultiSelectElement unselect(Option option)
MultiSelectElement
unselect in interface MultiSelectElementoption - option to remove
public MultiSelectElement selectAll()
MultiSelectElement
selectAll in interface MultiSelectElementpublic MultiSelectElement unselectAll()
MultiSelectElement
unselectAll in interface MultiSelectElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||