UNPKG

supapup

Version:

⚡ Lightning-fast MCP browser dev tool. Navigate → Get instant structured data. No screenshots needed! Puppeteer: 📸 → CSS selectors → JS eval. Supapup: semantic IDs ready to use. 10x faster, 90% fewer tokens.

30 lines 844 B
/** * Navigation and redirect monitoring */ export declare class NavigationMonitor { /** * Check if a navigation/redirect occurred */ static checkForNavigation(page: any, originalUrl: string): Promise<{ navigated: boolean; newUrl?: string; isRedirect?: boolean; isCaptcha?: boolean; }>; /** * Wait for navigation with timeout */ static waitForPossibleNavigation(page: any, action: () => Promise<any>, options?: { timeout?: number; waitUntil?: 'load' | 'domcontentloaded' | 'networkidle0' | 'networkidle2'; }): Promise<{ actionResult: any; navigated: boolean; error?: undefined; } | { actionResult: null; navigated: boolean; error: unknown; }>; } //# sourceMappingURL=navigation-monitor.d.ts.map