set to random store and try catch
This commit is contained in:
@@ -40,3 +40,27 @@ adb -s d54e946 shell am start -n com.android.chrome/com.google.android.apps.chro
|
||||
adb -s 926f2061 shell pm clear com.android.chrome
|
||||
adb -s 926f2061 shell am set-debug-app --persistent com.android.chrome
|
||||
adb -s 926f2061 shell am start -n com.android.chrome/com.google.android.apps.chrome.Main
|
||||
#samsung J5 - 2016
|
||||
adb -s 4f55c3d4 shell pm clear com.android.chrome
|
||||
adb -s 4f55c3d4 shell am set-debug-app --persistent com.android.chrome
|
||||
adb -s 4f55c3d4 shell am start -n com.android.chrome/com.google.android.apps.chrome.Main
|
||||
|
||||
#samsung J5 - 2016
|
||||
adb -s 69db59f0 shell pm clear com.android.chrome
|
||||
adb -s 69db59f0 shell am set-debug-app --persistent com.android.chrome
|
||||
adb -s 69db59f0 shell am start -n com.android.chrome/com.google.android.apps.chrome.Main
|
||||
|
||||
#samsung J5 - 2016
|
||||
adb -s 6c3076e6 shell pm clear com.android.chrome
|
||||
adb -s 6c3076e6 shell am set-debug-app --persistent com.android.chrome
|
||||
adb -s 6c3076e6 shell am start -n com.android.chrome/com.google.android.apps.chrome.Main
|
||||
|
||||
#samsung J5 - 2016
|
||||
adb -s 774687ff shell pm clear com.android.chrome
|
||||
adb -s 774687ff shell am set-debug-app --persistent com.android.chrome
|
||||
adb -s 774687ff shell am start -n com.android.chrome/com.google.android.apps.chrome.Main
|
||||
|
||||
#samsung J5 - 2016
|
||||
adb -s ffa9b2bc shell pm clear com.android.chrome
|
||||
adb -s ffa9b2bc shell am set-debug-app --persistent com.android.chrome
|
||||
adb -s ffa9b2bc shell am start -n com.android.chrome/com.google.android.apps.chrome.Main
|
||||
|
||||
@@ -229,7 +229,9 @@ class CommandorPage {
|
||||
try {
|
||||
if (!this.page.isClosed()) {
|
||||
this.page.evaluate(() => {
|
||||
document.getElementsByClassName("btn")[0].focus();
|
||||
let element = document.getElementsByClassName("btn")[0];
|
||||
if (typeof element !== 'undefined')
|
||||
document.getElementsByClassName("btn")[0].focus();
|
||||
})
|
||||
await delay(getRandomWaitTime())
|
||||
if (!this.page.isClosed()) {
|
||||
|
||||
Reference in New Issue
Block a user