UNPKG

jevrun

Version:

Run natural-language browser tasks on a Playwright page using Jev decisions.

9 lines (8 loc) • 373 B
import type { Locator } from "playwright-core"; export interface Action { description: string; execute(): Promise<void>; } export declare function literals(prompt: string): string[]; export declare function targets(snapshot: string): Record<string, string>; export declare function actionsFor(handle: Locator, values: string[], timeout: number): Promise<Action[]>;