mirror of
https://github.com/httprunner/httprunner.git
synced 2026-08-28 19:47:14 +08:00
refactor: init driver for device
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user