print serial number

This commit is contained in:
Lei PAN
2023-06-05 17:41:36 +02:00
parent 18519f76de
commit 9d705908eb
+1 -1
View File
@@ -137,7 +137,7 @@ class CommandorPage {
this.device.shell("am start -n com.android.chrome/com.google.android.apps.chrome.Main") this.device.shell("am start -n com.android.chrome/com.google.android.apps.chrome.Main")
await delay(5 * 1000); await delay(5 * 1000);
// Connect to the device. // Connect to the device.
logWithDevice("loadPage() called, with port:" + this.port, this.device); logWithDevice(this.device.serial() + ":loadPage() called, with port:" + this.port, this.device);
if (this.browser) { if (this.browser) {
logWithDevice("browser.isConnected is " + this.browser.isConnected(), this.device); logWithDevice("browser.isConnected is " + this.browser.isConnected(), this.device);
} }