maests
Version:
An executable compiler for creating Maestro's yaml-flows with typescript.
18 lines (17 loc) • 604 B
TypeScript
export interface TapOptions {
index?: number;
retryTapIfNoChange?: boolean;
repeat?: number;
waitToSettleTimeoutMs?: number;
}
export interface WaitProps {
maxWait?: number;
}
export interface PointProps {
x: number | string;
y: number | string;
}
export declare const tapOn: (id: string, options?: TapOptions) => void;
export declare const tapOnText: (text: string, options?: TapOptions) => void;
export declare const tapOnPoint: (point: PointProps, options?: TapOptions) => void;
export declare const waitForAndTapOn: (id: string, options?: TapOptions & WaitProps) => void;