mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-04 23:16:57 +08:00
change: add capabilities for driver
This commit is contained in:
@@ -7,9 +7,7 @@ import (
|
||||
)
|
||||
|
||||
func TestDriverExtOCR(t *testing.T) {
|
||||
device, err := NewIOSDevice()
|
||||
checkErr(t, err)
|
||||
driverExt, err := device.InitWDAClient()
|
||||
driverExt, err := iosDevice.NewDriver(nil)
|
||||
checkErr(t, err)
|
||||
|
||||
x, y, width, height, err := driverExt.FindTextByOCR("抖音")
|
||||
|
||||
Reference in New Issue
Block a user