public class AccordionElement
extends com.vaadin.testbench.TestBenchElement
| Constructor and Description |
|---|
AccordionElement() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the opened panel (if any) in the accordion.
|
OptionalInt |
getOpenedIndex()
Gets the index of the opened panel or null if the accordion is closed.
|
Optional<AccordionPanelElement> |
getOpenedPanel()
Gets the the opened panel or null if the accordion is closed.
|
void |
open(int index)
Opens the panel at the specified index.
|
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, wrapElementspublic void close()
public void open(int index)
index - the index of the panel to be openedpublic OptionalInt getOpenedIndex()
public Optional<AccordionPanelElement> getOpenedPanel()
Copyright © 2026. All rights reserved.