DetailsElement
Playwright element wrapper for<vaadin-details> providing helpers to open/close and access the summary and content areas.
Component Tag
vaadin-details
Implements
HasStyleElement- CSS class and style managementHasThemeElement- Theme variant supportHasTooltipElement- Tooltip text
Constructor
Locator
required
Playwright locator for the
<vaadin-details> elementStatic Factory Methods
getBySummaryText
Get a details component by its summary text.Page
Playwright page
String
Summary text to match
Methods
isOpen
Whether the details is opened.setOpen
Set the opened state by clicking the summary when necessary.boolean
Desired open state