public class SeleniumWSelectWebElement extends SeleniumWComponentWebElement
| Modifier and Type | Field and Description |
|---|---|
static String |
SELECTOR_FIRST_OPTION
The CSS Selector for the first option.
|
static String |
SELECTOR_LAST_OPTION
The CSS Selector for the last option.
|
static String |
SELECTOR_SELECTED_OPTION
The CSS Selector for a selected option.
|
static String |
TAG_NAME
The table itself is a 'table' entity, but the element containing all the controls is the wrapper div.
|
| Constructor and Description |
|---|
SeleniumWSelectWebElement(org.openqa.selenium.WebElement element,
org.openqa.selenium.WebDriver driver)
Default constructor for this element.
|
| Modifier and Type | Method and Description |
|---|---|
SeleniumWComponentWebElement |
getFirstOption() |
SeleniumWComponentWebElement |
getLastOption() |
SeleniumWComponentWebElement |
getSelectedOption() |
clear, click, clickNoWait, findElement, findElements, findSeleniumWSelectWebElement, getAttribute, getCssValue, getDriver, getLocation, getRect, getScreenshotAs, getSize, getTagName, getText, isDisplayed, isEnabled, isSelected, sendKeys, submitpublic static final String TAG_NAME
public static final String SELECTOR_SELECTED_OPTION
public static final String SELECTOR_FIRST_OPTION
public static final String SELECTOR_LAST_OPTION
public SeleniumWSelectWebElement(org.openqa.selenium.WebElement element,
org.openqa.selenium.WebDriver driver)
element - the WebElementdriver - the driver.public SeleniumWComponentWebElement getSelectedOption()
public SeleniumWComponentWebElement getFirstOption()
public SeleniumWComponentWebElement getLastOption()
Copyright © 2016. All rights reserved.