public class CheckboxElement
extends com.vaadin.testbench.TestBenchElement
implements com.vaadin.testbench.HasLabel, com.vaadin.testbench.HasHelper
<vaadin-checkbox>
element.| Constructor and Description |
|---|
CheckboxElement() |
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel() |
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, 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, setPropertypublic 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 itpublic String getLabel()
getLabel in interface com.vaadin.testbench.HasLabelCopyright © 2021. All rights reserved.