UNPKG

ai-debug-local-mcp

Version:

🎯 ENHANCED AI GUIDANCE v4.1.2: Dramatically improved tool descriptions help AI users choose the right tools instead of 'close enough' options. Ultra-fast keyboard automation (10x speed), universal recording, multi-ecosystem debugging support, and compreh

48 lines • 1.39 kB
/** * Flutter Smart Navigation * Analyzes page with overlay, extracts data, then navigates without overlay */ import { Page } from 'playwright'; import { DetectedElement } from './flutter-comprehensive-detector.js'; export interface NavigationTarget { label: string; x: number; y: number; confidence: number; element: DetectedElement; } export declare class FlutterSmartNavigation { /** * Analyze page, find target, remove overlay, then click */ static analyzeAndNavigate(page: Page, targetText: string, options?: { waitForNavigation?: boolean; screenshotPath?: string; }): Promise<{ success: boolean; target?: NavigationTarget; navigationOccurred?: boolean; error?: string; }>; /** * Find target element from detected elements */ private static findTargetElement; /** * Analyze page and extract all clickable targets */ static analyzeClickableTargets(page: Page): Promise<NavigationTarget[]>; /** * Smart form flow navigation */ static navigateFormFlow(page: Page, steps: Array<{ action: 'click' | 'type' | 'select'; target: string; value?: string; }>): Promise<{ success: boolean; completedSteps: number; error?: string; }>; } //# sourceMappingURL=flutter-smart-navigation.d.ts.map