Documentation Index
Fetch the complete documentation index at: https://mintlify.com/parttio/dramafinder/llms.txt
Use this file to discover all available pages before exploring further.
Overview
PopoverElement is a Playwright wrapper for <vaadin-popover>. It provides utilities to verify popover state and access popover content.
Component tag: vaadin-popover
Implements:
HasThemeElementHasStyleElementHasAriaLabelElement
Constructors
PopoverElement(Page page)
Create aPopoverElement by resolving the popover with ARIA role dialog.
The Playwright page instance
PopoverElement(Locator locator)
Create aPopoverElement from an existing locator.
The Playwright locator for the popover element
Methods
isOpen()
Check whether the popover is open (visible). Returns:boolean - True if the popover is visible
assertOpen()
Assert that the popover is open. Verifies: The element has theopened attribute.
assertClosed()
Assert that the popover is closed (hidden). Verifies: The element is hidden in the DOM.getContentLocator()
Get the locator for the popover content. Returns:Locator - The popover element itself (content is within the popover)
Static Factory Methods
getByLabel(Page page, String label)
Get a popover by its accessible label.The Playwright page instance
The accessible label of the popover (uses ARIA role DIALOG)
PopoverElement - The popover with the specified label
Usage Example
Notes
- Popovers use ARIA role
dialogfor accessibility - Popovers are typically anchored to a target element
- Multiple popovers can be open simultaneously depending on configuration
- Popovers may close automatically on click outside or require explicit closure