public class WebDriverSelectElement extends WebDriverElement implements SelectElement
SelectElementdefaultTimeout, driver, locatable, pageBinder, timeouts, TO_LOCATABLE| Constructor and Description |
|---|
WebDriverSelectElement(org.openqa.selenium.By locator) |
WebDriverSelectElement(org.openqa.selenium.By locator,
TimeoutType defaultTimeout) |
WebDriverSelectElement(org.openqa.selenium.By locator,
WebDriverLocatable parent) |
WebDriverSelectElement(org.openqa.selenium.By locator,
WebDriverLocatable parent,
TimeoutType timeoutType) |
WebDriverSelectElement(WebDriverLocatable locatable,
TimeoutType timeoutType) |
| Modifier and Type | Method and Description |
|---|---|
List<Option> |
getAllOptions()
All options
|
Option |
getSelected()
Selected option of this select.
|
SelectElement |
select(Option option)
Select given option.
|
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 WebDriverSelectElement(org.openqa.selenium.By locator)
public WebDriverSelectElement(org.openqa.selenium.By locator,
TimeoutType defaultTimeout)
public WebDriverSelectElement(WebDriverLocatable locatable, TimeoutType timeoutType)
public WebDriverSelectElement(org.openqa.selenium.By locator,
WebDriverLocatable parent)
public WebDriverSelectElement(org.openqa.selenium.By locator,
WebDriverLocatable parent,
TimeoutType timeoutType)
public List<Option> getAllOptions()
SelectElementgetAllOptions in interface SelectElementpublic Option getSelected()
SelectElementgetSelected in interface SelectElementpublic SelectElement select(Option option)
SelectElementselect in interface SelectElementoption - option to selectCopyright © 2015 Atlassian. All rights reserved.