change: add capabilities for driver

This commit is contained in:
debugtalk
2022-10-11 20:09:12 +08:00
parent 3683589b37
commit acb9c80a93
11 changed files with 34 additions and 43 deletions
+1 -3
View File
@@ -15,9 +15,7 @@ func TestDriverExt_GesturePassword(t *testing.T) {
password[i], _ = strconv.Atoi(split[i])
}
device, err := NewIOSDevice()
checkErr(t, err)
driverExt, err := device.InitWDAClient()
driverExt, err := iosDevice.NewDriver(nil)
checkErr(t, err)
pathSearch := "/Users/hero/Documents/temp/2020-05/opencv/IMG_5.png"