diff --git a/maestro-android/src/androidTest/java/dev/mobile/maestro/MaestroDriverService.kt b/maestro-android/src/androidTest/java/dev/mobile/maestro/MaestroDriverService.kt index 083238f866..666f11899c 100644 --- a/maestro-android/src/androidTest/java/dev/mobile/maestro/MaestroDriverService.kt +++ b/maestro-android/src/androidTest/java/dev/mobile/maestro/MaestroDriverService.kt @@ -273,7 +273,7 @@ class Service( val charactersToErase = request.charactersToErase Log.d("Maestro", "Erasing text $charactersToErase") - for (i in 0..charactersToErase) { + for (i in 1..charactersToErase) { uiDevice.pressDelete() }