UNPKG

donobu

Version:

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

23 lines 796 B
import { z } from 'zod/v4'; export declare const ScrollDirectionEnum: z.ZodEnum<{ UP: "UP"; DOWN: "DOWN"; LEFT: "LEFT"; RIGHT: "RIGHT"; }>; /** * A handle to an HTML element that has been marked up via the {@link PageInspector.attributeInteractableElements} method. */ export declare const InteractableElementSchema: z.ZodObject<{ donobuAttributeValue: z.ZodString; htmlSnippet: z.ZodString; scrollable: z.ZodArray<z.ZodEnum<{ UP: "UP"; DOWN: "DOWN"; LEFT: "LEFT"; RIGHT: "RIGHT"; }>>; }, z.core.$strip>; export type InteractableElement = z.infer<typeof InteractableElementSchema>; export declare function interactableElementsToPrettyJson(elements: InteractableElement[]): string; //# sourceMappingURL=InteractableElement.d.ts.map