UNPKG

askui

Version:

Reliable, automated end-to-end-testing that depends on what is shown on your screen instead of the technology you are running on

19 lines (18 loc) 539 B
import { InputEvent } from './input-event'; export type ActionParameters = { [key: string]: string | number | boolean | string[] | ActionParameters; }; export declare class Action { inputEvent: InputEvent; position: { x: number; y: number; }; text: string; parameters: ActionParameters; constructor(inputEvent: InputEvent, position: { x: number; y: number; }, text: string, parameters?: ActionParameters); static fromJson(action: Action, resizeRatio?: number): Action; }