UNPKG

donobu

Version:

Create browser automations with an LLM agent and replay them as Playwright scripts.

19 lines 893 B
import type { Page } from 'playwright-core'; export { flushTbdSessions } from './tbd/fileRewriter'; export type { TbdSession } from './tbd/tbdTypes'; /** * Opens an interactive mini-session that pauses test execution and lets * the user explore the page and/or give AI instructions. * * - In headed mode the user interacts directly with the visible browser. * - In headless mode a live CDP screencast is mirrored into the panel. * - The user can type an instruction and hit Enter → AI takes over. * - The user can pause the AI, revise instructions, or take over manually. * - Closing the panel window ends the session. * * All interactions (manual and AI) are recorded. When the test completes, * `await page.tbd()` is replaced in the source file with the equivalent * Playwright code. */ export declare function tbd(page: Page): Promise<void>; //# sourceMappingURL=tbd.d.ts.map