Interface HasBattery<T extends BatteryInfo>

All Superinterfaces:
ExecutesMethod
All Known Implementing Classes:
AndroidDriver, FlutterAndroidDriver, FlutterIOSDriver, IOSDriver

public interface HasBattery<T extends BatteryInfo> extends ExecutesMethod
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves battery info from the device under test.

    Methods inherited from interface io.appium.java_client.ExecutesMethod

    execute, execute
  • Method Details

    • getBatteryInfo

      T getBatteryInfo()
      Retrieves battery info from the device under test.
      Returns:
      BatteryInfo instance, containing the battery information