UNPKG

webdriverio

Version:

Next-gen browser and mobile automation test framework for Node.js

18 lines • 505 B
/** * * Check whether the device screen is locked. * * <example> :isLocked.js it('should check if the device is locked', async () => { const locked = await browser.isLocked() console.log('Device is locked:', locked) }) * </example> * * @returns {`Promise<boolean>`} `true` if the device is locked, `false` otherwise * * @support ["ios","android"] */ export declare function isLocked(this: WebdriverIO.Browser): Promise<boolean>; //# sourceMappingURL=isLocked.d.ts.map