What are the ways to close the Сhrome app on android after the test, which checks for links from the native app? I tried using terminateApp(), but in some tests, chrome doesn’t open afterwards.
I am doing
((AndroidDriver) getDriver()).terminateApp("com.android.chrome");
// or same
((InteractsWithApps) driver).terminateApp("com.android.chrome");
never had any issues.