public class CheckboxGroupElement
extends com.vaadin.testbench.TestBenchElement
implements com.vaadin.testbench.HasHelper
| Constructor and Description |
|---|
CheckboxGroupElement() |
| Modifier and Type | Method and Description |
|---|---|
void |
deselectByText(String label)
Attempts to deselect a checkbox that is currently selected, by matching
the label.
|
List<CheckboxElement> |
getCheckboxes()
Gets all checkboxes that are part of this group.
|
void |
selectByText(String label)
Attempts to select a checkbox by matching the label.
|
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 List<CheckboxElement> getCheckboxes()
public void selectByText(String label)
label - the label of the checkbox to selectNoSuchElementException - if no matching label was foundpublic void deselectByText(String label)
label - the label of the checkbox to selectNoSuchElementException - if no matching label was foundCopyright © 2026. All rights reserved.