I have iOS app which implemented UI testing with Appium. And when I want to restart app with this code, processArguments are lost. Could anyone tell me how to restart app without losing processArguments or pass processArguments when restart app?
await driver.terminateApp(bundleId);
await driver.activateApp(bundleId);