UNPKG

appium-xcuitest-driver

Version:

Appium driver for iOS using XCUITest for backend

21 lines 963 B
import { XCUITestDriver } from '../driver'; import type { StringRecord } from '@appium/types'; /** * Collect the response of an async script execution * @deprecated * @privateRemarks It's unclear what this is for. Don't use it. */ export declare function receiveAsyncResponse(this: XCUITestDriver, status: number | null | undefined, value: any): Promise<void>; /** * @template TReturn * @param script - Either a script to run, or in the case of an Execute Method, the name of the script to execute. * @param args */ export declare function execute<TReturn = unknown>(this: XCUITestDriver, script: string, args?: ExecuteMethodArgs): Promise<TReturn>; /** * @group Mobile Web Only */ export declare function executeAsync(this: XCUITestDriver, script: string, args?: readonly any[]): Promise<any>; type ExecuteMethodArgs = readonly any[] | readonly [StringRecord<unknown>] | Readonly<StringRecord<unknown>>; export {}; //# sourceMappingURL=execute.d.ts.map