Skip to content

browserOpsRequestSchema

const browserOpsRequestSchema: ZodObject<{ ops: ZodArray<ZodDiscriminatedUnion<"type", [ZodObject<{ type: ZodLiteral<"navigate">; url: ZodString; }, "strip", ZodTypeAny, { type: "navigate"; url: string; }, { type: "navigate"; url: string; }>, ZodObject<{ ref: ZodString; type: ZodLiteral<"click">; }, "strip", ZodTypeAny, { ref: string; type: "click"; }, { ref: string; type: "click"; }>, ZodObject<{ ref: ZodString; submit: ZodOptional<ZodBoolean>; text: ZodString; type: ZodLiteral<"type">; }, "strip", ZodTypeAny, { ref: string; submit?: boolean; text: string; type: "type"; }, { ref: string; submit?: boolean; text: string; type: "type"; }>]>, "many">; }, "strip", ZodTypeAny, { ops: ({ type: "navigate"; url: string; } | { ref: string; type: "click"; } | { ref: string; submit?: boolean; text: string; type: "type"; } | { key: string; type: "press"; } | { dy: number; type: "scroll"; } | { ms: number; type: "wait"; })[]; }, { ops: ({ type: "navigate"; url: string; } | { ref: string; type: "click"; } | { ref: string; submit?: boolean; text: string; type: "type"; } | { key: string; type: "press"; } | { dy: number; type: "scroll"; } | { ms: number; type: "wait"; })[]; }>

Defined in: index.ts:945