How to close/open an app during a session in Real Devices using Appium Java?
Hey Tim!
To close/open an app during Appium testing in Java on real devices, you need to add the below code snippet -
//Close the application
driver.closeApp();
//Open the application
driver.launchApp();
Here is the GitHub repo for the same