UNPKG

apx-toolkit

Version:

Automatically discover APIs and generate complete integration packages: code in 12 languages, TypeScript types, test suites, SDK packages, API documentation, mock servers, performance reports, and contract tests. Saves 2-4 weeks of work in seconds.

27 lines 1.08 kB
/** * Deep Interaction Fuzzer * Intelligently simulates a wide variety of user behaviors to trigger hidden or lazy-loaded API calls * This addresses complex SPAs that require specific interaction sequences */ import type { Page } from 'playwright'; export interface FuzzerConfig { maxClicks?: number; scrollPositions?: number[]; inputMaxFocus?: number; interactionDelayMs?: number; } /** * Performs deep interaction fuzzing to trigger hidden APIs in complex SPAs * * Actions performed: * 1. Random scroll events at common lazy-load points (25%, 50%, 75%) * 2. Focus/blur input fields to trigger validation/pre-fetch APIs * 3. Random clicks on interactive elements (buttons, links, role=button) * 4. Wait for network to settle after all interactions * * @param page - Playwright page instance * @param log - Logger instance * @param config - Optional configuration to override defaults */ export declare function deepInteractionFuzzing(page: Page, log: any, config?: FuzzerConfig): Promise<void>; //# sourceMappingURL=interaction-fuzzer.d.ts.map