Variable LocatorSchemaConst
LocatorSchema: ZodObject<
{
css: ZodOptional<ZodString>;
exact: ZodOptional<ZodBoolean>;
name: ZodOptional<ZodString>;
nth: ZodOptional<ZodNumber>;
ref: ZodOptional<ZodString>;
role: ZodOptional<ZodString>;
text: ZodOptional<ZodString>;
},
$strip,
> = ...
How to point at an element. Prefer
ref(from the latest snapshot); otherwise role + name, text, or CSS as a last resort.nthpicks among several matches (0-based); without it, several matches are anAMBIGUOUSerror.