package com.mumux.androidtesting.actions.impl;
import com.android.uiautomator.testrunner.UiAutomatorTestCase;
import com.mumux.androidtesting.actions.Action;
public class BackAction extends Action {
public BackAction() {
super("BACK", false, "Pressing Back Button", Category.SYSTEM, null);
}
@Override
public String run(UiAutomatorTestCase uiAutomatorTestCase, Runtime runtime) {
uiAutomatorTestCase.getUiDevice().pressBack();
return null;
}
}