diff --git a/src/workers/CommandorPage.js b/src/workers/CommandorPage.js index f790d13..e4b2cec 100644 --- a/src/workers/CommandorPage.js +++ b/src/workers/CommandorPage.js @@ -98,6 +98,9 @@ class CommandorPage { let cancel const intervalTask = setInterval(() => { if (this.isTerminated) { + this.device.shell("pm clear com.android.chrome") + this.device.shell("am set-debug-app --persistent com.android.chrome") + this.device.shell("pm am start -n com.android.chrome/com.google.android.apps.chrome.Main") log("request terminated, will close device") context.close() // this.page.close()