0

How can you send idevicediagnostics restart -u command in appium to restart an ios device? I can send this via the terminal manually, but I would like appium to trigger it during the end of each test suite run. My goal is to reboot my ios devices after each test suite run without having to do it manually everytime. Thanks.

1 Answer 1

1

Runtime.getRuntime().exec("idevicediagnostics restart -u "+udid).waitFor(); Thread.sleep(60000);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.