Kill and Relaunch app in Appium

Hi All,

Does anybody have an idea how to kill an app and relaunch it using appium.
Any help is much appreciated.
Due to some development issues, the app in the simulator freezes before login and goes to login screen only after killing and relaunching the app and we want to be able to handle this in the appium code. Also we using protractor with Javascript.

Thanks and Regards,

Hi thank you for the update… We using protractor with javascript… Any idea if we could find similar functions for javascript ?

Could you just do a driver.quit() followed by a driver = new AndroidDriver() or whatever the JavaScript equivalent is?