adapte the new block page
This commit is contained in:
@@ -37,8 +37,12 @@ async function openUrlWithAdb(url, device) {
|
||||
// do not continue if device is blocked
|
||||
console.log("load url on device " + device.model() + " url=" + url)
|
||||
let cmd = "adb -s " + device.serial() + " shell am start -a android.intent.action.VIEW -d " + url
|
||||
try {
|
||||
let output = await cmdExecute(cmd);
|
||||
console.log(`stdout: ${output}`);
|
||||
} catch (e) {
|
||||
console.log(e)
|
||||
}
|
||||
}
|
||||
|
||||
async function findText(imgPath) {
|
||||
|
||||
Reference in New Issue
Block a user