UNPKG

appium-xcuitest-driver

Version:

Appium driver for iOS using XCUITest for backend

19 lines 737 B
import type { XCUITestDriver } from '../driver'; /** * Lock the device (and optionally unlock the device after a certain amount of time) * * @param seconds - The number of seconds after which to unlock the device. Set to `0` or leave empty to require manual unlock (do not automatically unlock). * @defaultValue 0 */ export declare function lock(this: XCUITestDriver, seconds?: number | string): Promise<void>; /** * Unlock the device */ export declare function unlock(this: XCUITestDriver): Promise<void>; /** * Determine whether the device is locked * * @returns `true` if the device is locked, `false` otherwise */ export declare function isLocked(this: XCUITestDriver): Promise<boolean>; //# sourceMappingURL=lock.d.ts.map