public class SeleniumWCheckBoxWebElement extends SeleniumWComponentInputWebElement
| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE
The input type for checkbox.
|
EDITABLE_TAG, TOP_LEVEL_TAG| Constructor and Description |
|---|
SeleniumWCheckBoxWebElement(org.openqa.selenium.WebElement element,
org.openqa.selenium.WebDriver driver)
Default constructor for this element.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAttribute(String name)
Some attributes are applied to the wrapper, some to the input.
|
String |
getValue()
Gets the value of the checkbox, accounting for
readOnly/editable/disabled.
|
boolean |
isChecked() |
boolean |
isSelected() |
clear, click, clickNoWait, getActiveId, getInputField, getSuggestionList, isCombo, isEnabled, isMandatory, isReadOnly, sendKeys, sendKeysclickElementNoWait, findElement, findElementImmediate, findElements, findElementsImmediate, getCssValue, getDriver, getElement, getLocation, getRect, getScreenshotAs, getSize, getTagName, getText, getUserContextForSession, isDisplayed, isHidden, submit, waitForPageReady, wrapElementpublic static final String TYPE
public SeleniumWCheckBoxWebElement(org.openqa.selenium.WebElement element,
org.openqa.selenium.WebDriver driver)
element - the WebElementdriver - the driver.public String getValue()
getValue in class SeleniumWComponentInputWebElementpublic boolean isChecked()
public boolean isSelected()
SeleniumWComponentWebElementisSelected in interface org.openqa.selenium.WebElementisSelected in class SeleniumWComponentWebElementpublic String getAttribute(String name)
getAttribute in interface org.openqa.selenium.WebElementgetAttribute in class SeleniumWComponentInputWebElementname - the name of the attribute to findCopyright © 2024. All rights reserved.