donobu
Version:
Create browser automations with an LLM agent and replay them as Playwright scripts.
14 lines • 796 B
TypeScript
import type { ElementHandle } from 'playwright';
import type { z } from 'zod/v4';
import type { ToolCallContext } from '../models/ToolCallContext';
import { NoArgsSchema } from '../models/ToolSchema';
import { AnnotationBasedSchema, ReplayableInteraction, SelectorBasedSchema } from './ReplayableInteraction';
export declare class DoubleClickTool extends ReplayableInteraction<typeof NoArgsSchema, typeof SelectorBasedSchema, typeof AnnotationBasedSchema> {
static readonly NAME = "doubleClick";
constructor();
invoke(context: ToolCallContext, _parameters: z.infer<typeof NoArgsSchema>, handles: {
target: ElementHandle<HTMLElement | SVGElement>;
label?: ElementHandle<HTMLElement | SVGElement>;
}): Promise<string>;
}
//# sourceMappingURL=DoubleClickTool.d.ts.map