refactor: init WDA HTTP driver

This commit is contained in:
debugtalk
2022-09-30 16:14:58 +08:00
parent 7f929cc72a
commit 30626575dd
9 changed files with 100 additions and 63 deletions

View File

@@ -1,4 +1,4 @@
//go:build !localtest
//go:build localtest
package uitest
@@ -14,7 +14,7 @@ func TestWDALog(t *testing.T) {
WithVariables(map[string]interface{}{
"app_name": "抖音",
}).
SetIOS(hrp.WithLogOn(true), hrp.WithPort(8700), hrp.WithMjpegPort(8800)),
SetIOS(hrp.WithLogOn(true), hrp.WithWDAPort(8700), hrp.WithWDAMjpegPort(8800)),
TestSteps: []hrp.IStep{
hrp.NewStep("查看时间戳").
IOS().