io.appium.settings
Version:
App for dealing with Android settings
17 lines • 807 B
TypeScript
import type { SettingsApp } from '../client';
/**
* Change the state of WiFi on the device under test.
*
* @param on - True to enable and false to disable it
* @param isEmulator - Set it to true if the device under test is an emulator rather than a real device
*/
export declare function setWifiState(this: SettingsApp, on: boolean, isEmulator?: boolean): Promise<void>;
/**
* Change the state of Data transfer on the device under test.
*
* @param on - True to enable and false to disable it
* @param isEmulator - Set it to true if the device under test is an emulator rather than a real device
* @throws {Error} If the data state cannot be changed
*/
export declare function setDataState(this: SettingsApp, on: boolean, isEmulator?: boolean): Promise<void>;
//# sourceMappingURL=network.d.ts.map