Package io.appium.java_client.android
Interface SupportsNetworkStateManagement
-
- All Superinterfaces:
ExecutesMethod
- All Known Implementing Classes:
AndroidDriver
public interface SupportsNetworkStateManagement extends ExecutesMethod
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
toggleAirplaneMode()
Toggle Airplane mode and this works on OS 6.0 and lesser and does not work on OS 7.0 and greaterdefault void
toggleData()
Toggle Mobile Data and this works on Emulator and rooted device.default void
toggleWifi()
Toggles Wifi on and off.-
Methods inherited from interface io.appium.java_client.ExecutesMethod
execute, execute
-
-
-
-
Method Detail
-
toggleWifi
default void toggleWifi()
Toggles Wifi on and off.
-
toggleAirplaneMode
default void toggleAirplaneMode()
Toggle Airplane mode and this works on OS 6.0 and lesser and does not work on OS 7.0 and greater
-
toggleData
default void toggleData()
Toggle Mobile Data and this works on Emulator and rooted device.
-
-