import type { Locator, Route } from "playwright"; import type { NetworkMonitor } from "./networkMonitor.js"; import type { PopupHandler } from "./popupHandler.js"; /** Popup definition declared by the POM (what popups exist on this page). */ export type PopupHandlerDef = { /** CSS selector targeting this popup's root element(s). Used by the default * CSS-injection popup shield — if provided, popups are hidden via a