Appium: 2.0 Beta
I have set the capabilities as described in the documentation:
desiredCapabilities.setCapability("unlockType", "pin"); desiredCapabilities.setCapability("unlockKey", "1258");
… but when I run my tests (while screen is locked), I’m getting the error:
Original error: Cannot clear device lock credential. Original error: New credential doesn’t satisfy admin policies: Weak credential type
Any idea how to solve this issue?