Interface HasNetworkConnection

All Superinterfaces:
CanRememberExtensionPresence, ExecutesMethod
All Known Implementing Classes:
AndroidDriver, FlutterAndroidDriver

public interface HasNetworkConnection extends ExecutesMethod, CanRememberExtensionPresence
  • Method Details

    • setConnection

      default ConnectionState setConnection(ConnectionState connection)
      Set the network connection of the device.
      Parameters:
      connection - The bitmask of the desired connection
      Returns:
      Connection object, which represents the resulting state
    • getConnection

      default ConnectionState getConnection()
      Get the current network settings of the device.
      Returns:
      Connection object, which lets you to inspect the current status