package com.amplify.honeydew_server.actions; import com.android.uiautomator.core.*; import com.amplify.honeydew_server.Action; import com.amplify.honeydew_server.Result; import java.util.Map; public class PressBack extends Action { public PressBack(UiDevice uiDevice) { super(uiDevice); } @Override public Result execute(Map arguments) throws UiObjectNotFoundException { getUiDevice().pressBack(); return Result.OK; } }