I’m currently writing about Process Death issues on Android and those are hard to reproduce, so I wanted to add a post in there about Detecting Process Death issues with Appium
Now, to do so manually, an Android Developer needs to do the following on the command line (with adb):
adb shell am kill <package name>
How can I achieve this with Appium?
I am using org.seleniumhq.selenium:selenium-java:4.20.0 and there’s no killPackage() function on AndroidDriver, so who can I reach from my JVM project the killPackage function of the appium-adb project ?
I saw there’s a driver.execute() function, is that the right way? If so, how?
Thank you in advance