public class SeleniumWCheckBoxSelectWebElement extends SeleniumCheckableGroupInputWebElement
WRAPPER_ELEMENT| Constructor and Description |
|---|
SeleniumWCheckBoxSelectWebElement(org.openqa.selenium.WebElement element,
org.openqa.selenium.WebDriver driver)
Create a SeleniumWComponentWCheckBoxSelectWebElement.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deselect(int idx)
Deselect an option by its index.
|
void |
deselect(String labelText)
Deselect an option identified by its label text.
|
void |
deselect(org.openqa.selenium.WebElement option)
Deselect an option.
|
void |
toggle(int idx)
Toggle the selected state of an option by its index.
|
void |
toggle(String labelText)
Toggle the selected state of an option identified by its label.
|
void |
toggle(org.openqa.selenium.WebElement option)
Toggle the selected state of an option identified by its label.
|
click, click, click, clickNoWait, clickNoWait, clickNoWait, getInput, getInput, getInput, getOption, getOption, getOptions, getSelected, isEnabled, isSelected, isSelected, isSelected, select, select, selectisMandatory, isReadOnlyclear, click, clickElementNoWait, clickNoWait, findElement, findElementImmediate, findElements, findElementsImmediate, getActiveId, getAttribute, getCssValue, getDriver, getElement, getLocation, getRect, getScreenshotAs, getSize, getTagName, getText, getUserContextForSession, isDisplayed, isHidden, isSelected, sendKeys, submit, waitForPageReady, wrapElementpublic SeleniumWCheckBoxSelectWebElement(org.openqa.selenium.WebElement element,
org.openqa.selenium.WebDriver driver)
element - the backing WebElementdriver - the backing Selenium Driverpublic void toggle(org.openqa.selenium.WebElement option)
option - the option to togglepublic void toggle(int idx)
idx - the option index to togglepublic void toggle(String labelText)
labelText - the option's label textpublic void deselect(org.openqa.selenium.WebElement option)
option - the option to deselectpublic void deselect(int idx)
idx - the option index to deselectpublic void deselect(String labelText)
labelText - the option index to deselectCopyright © 2017. All rights reserved.