Properties

PlatformName

The name of the platform which Appium is connected to, usually Android to iOS.

PlatformVersion

The version of the platform which Appium is connected to.

Android

True, if the connected platform is Android.

DeviceID

Get the unique ID of the connected device.

CurrentActivity

On Android this will return the activity of the currently focused app.

CurrentPackage

On Android this will return the package of the currently focused app.

DeviceTime

Get the time of the connected device.

NetworkConnection

Get or set the current network connection status (setting it is only possible on simulators/emulators).

ScreenOrientation

Get or set the current orientation of the screen.