isAndroid

Returns true if the current test execution target is an Android device or emulator.

Example Usage

if (isAndroid()) {
pressBack()
}