UNPKG

donobu

Version:

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

17 lines 855 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ElementSelectorSchema = void 0; const v4_1 = require("zod/v4"); exports.ElementSelectorSchema = v4_1.z .object({ element: v4_1.z .array(v4_1.z.string()) .describe('An prioritized list of element selectors to use to attempt to resolve the desired element, going from most specific to least specific. The first element selector that is successfully used, wins, and the rest are ignored.'), frame: v4_1.z .string() .nullable() .optional() .describe('A selector for the corresponding frame of the element to select. If null, this means the primary frame of the page is used.'), }) .describe('A query structure used to resolve a specific HTML element in a webpage.'); //# sourceMappingURL=ElementSelector.js.map