multi-automator
Version:
Multi terminal automation
20 lines (19 loc) • 538 B
TypeScript
/// <reference types="node" />
import IOSHandler from "./Handler";
import { ElementBounds } from '../types';
interface ElementOptions {
device: IOSHandler;
element: any;
}
export default class Element {
device: IOSHandler;
element: any;
constructor(options: ElementOptions);
tap(): Promise<void>;
clear(): Promise<void>;
input(text: string): Promise<void>;
screenshot(path: string): Promise<Buffer>;
attribute(name: string): Promise<string>;
boundingBox(): Promise<ElementBounds>;
}
export {};