Playwright page object.
ReadonlysocialChild SocialIcons.
ReadonlysiteChild SiteLinks.
ReadonlycloseChild close-icon.
Protected ReadonlymodalModal wrapper element.
Protected ReadonlypagePlaywright page object.
Testing helper method.
Closes modal by interacting with closeIcon.
Closes the modal when screen width exceeds the mobile breakpoint.
The width at which the modal should close (default: 768px).
Checks if the modal is currently visible.
True if modal is visible, false otherwise.
Closes the modal by pressing the Escape key.
Closes the modal by clicking the backdrop (if applicable).
Waits for screen size change and handles modal state accordingly.
Target width to resize to.
Target height to resize to.
Cleans up tests by closing modal if left open.
Fixture for Modal within HamburgerMenu.
Example
Remarks
Provides method helpers for locating child elements and interactivity. Extends the base Modal class with HamburgerMenu-specific functionality.
Source