AccordionPanelElement
Playwright element wrapper for<vaadin-accordion-panel> offering utilities to toggle open state, read summary, and access content.
Component Tag
vaadin-accordion-panel
Related Tags
vaadin-accordion-heading- Panel heading/summary element
Constructor
Locator
required
Playwright locator for the
<vaadin-accordion-panel> elementStatic Factory Methods
getAccordionPanelBySummary
Get an accordion panel by its summary text within a scope.Locator
Scope to search within (typically the accordion element)
String
Panel summary heading text
getOpenedAccordionPanel
Get the currently opened accordion panel within a scope.Locator
Scope to search within (typically the accordion element)
Methods
isOpen
Whether the panel is open.setOpen
Set the open state by clicking the summary when needed.boolean
Desired open state
getSummaryLocator
Locator pointing to the summary heading (vaadin-accordion-heading).