Edit: Found the solution.
driver.resetApp();Does the trick.
@mni But it resets the state of the application right. In order to hold the data and restart the application how would you achieve it?
Edit: Found the solution.
driver.resetApp();Does the trick.
@mni But it resets the state of the application right. In order to hold the data and restart the application how would you achieve it?