UNPKG

webdriverio

Version:

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

17 lines • 473 B
/** * * Set the state of the battery charger on the Android emulator. Valid values: 'on', 'off'. * * <example> :powerAC.js it('should enable the AC charger', async () => { await browser.powerAC('on') }) * </example> * * @param {string} state The charger state to set ('on' or 'off') * * @support ["android"] */ export declare function powerAC(this: WebdriverIO.Browser, state: string): Promise<unknown>; //# sourceMappingURL=powerAC.d.ts.map