mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-05 07:26:55 +08:00
change: update adb logs
This commit is contained in:
+1
-1
@@ -477,7 +477,7 @@ func (r *HRPRunner) initUIClient(device uixt.Device) (client *uixt.DriverExt, er
|
||||
uuid := device.UUID()
|
||||
|
||||
// avoid duplicate init
|
||||
if uuid == "" && len(r.uiClients) == 1 {
|
||||
if uuid == "" && len(r.uiClients) > 0 {
|
||||
for _, v := range r.uiClients {
|
||||
return v, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user