donobu
Version:
Create browser automations with an LLM agent and replay them as Playwright scripts.
19 lines • 520 B
TypeScript
import type { Page } from 'playwright';
export type WebTarget = {
type: 'web';
current: Page | null;
};
/**
* The currently focused automation target.
*
* Known built-in target types:
* - `'web'` — Playwright Page (see {@link WebTarget})
*
* Plugin-provided targets use their own `type` string and `current` value.
* Use the `type` discriminant to narrow to a specific target shape.
*/
export type FocusedTarget = {
type: string;
current: unknown;
};
//# sourceMappingURL=FocusedTarget.d.ts.map