refactor: init driver for device

This commit is contained in:
debugtalk
2022-10-11 18:01:49 +08:00
parent 12af06791d
commit 3683589b37
12 changed files with 178 additions and 158 deletions
+3 -1
View File
@@ -7,7 +7,9 @@ import (
)
func TestDriverExt_Drag(t *testing.T) {
driverExt, err := InitWDAClient(nil)
device, err := NewIOSDevice()
checkErr(t, err)
driverExt, err := device.InitWDAClient()
checkErr(t, err)
pathSearch := "/Users/hero/Documents/temp/2020-05/opencv/IMG_map.png"