Lock or unlock device using appium
Class AndroidDriver (implements AppiumDriver interface) has certain methods for locking and unlocking an android device / emulator at run time. (should upgrade java-client.jar to version 4) Methods: isLocked() – Check if device is locked Returns true, if device is locked, else returns false Unlock a device Lock a device NOTE: these methods doesn’t hold good if…