public class CheckboxElement extends TestBenchElement implements HasLabel
<vaadin-checkbox>
element.| Constructor and Description |
|---|
CheckboxElement() |
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel()
Gets the label for the element.
|
boolean |
isChecked()
Checks whether the checkbox is checked.
|
void |
setChecked(boolean checked)
Sets whether the checkbox is checked.
|
callFunction, clear, click, click, compareScreen, compareScreen, compareScreen, contextClick, dispatchEvent, doubleClick, equals, executeScript, findElement, findElements, focus, getAttribute, getCapabilities, getClassNames, getCommandExecutor, getContext, getCssValue, getDriver, getLocation, getProperty, getPropertyBoolean, getPropertyDouble, getPropertyElement, getPropertyElements, getPropertyInteger, getPropertyString, getRect, getScreenshotAs, getSize, getTagName, getText, getWrappedElement, hasAttribute, hasClassName, hashCode, init, init, isChrome, isDisplayed, isEnabled, isFirefox, isIE, isSelected, scroll, scrollIntoView, scrollLeft, sendKeys, setProperty, setProperty, setProperty, setProperty, submit, waitForVaadin, waitUntil, waitUntil, wrap, wrapElement, wrapElementsclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetProperty, getPropertyBoolean, getPropertyDouble, getPropertyElement, getPropertyElements, getPropertyInteger, getPropertyString, setProperty, setProperty, setProperty, setPropertyclear, click, findElement, findElements, getAttribute, getCssValue, getLocation, getRect, getSize, getTagName, getText, isDisplayed, isEnabled, isSelected, sendKeys, submit$, $public boolean isChecked()
true if the checkbox is checked, false
if it is not checked or in indeterminate modepublic void setChecked(boolean checked)
checked - true to check the checkbox, false to
uncheck itCopyright © 2019. All rights reserved.