fix: modify function call parameters

This commit is contained in:
xucong.053
2022-10-16 23:33:53 +08:00
parent 7b0a442a7a
commit 1ed4fcd1e0
5 changed files with 116 additions and 77 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ func TestIOSDemo(t *testing.T) {
// 持续监测手机屏幕,直到出现青少年模式弹窗后,点击「我知道了」
for {
points, err := driverExt.GetTextXYs([]string{"青少年模式", "我知道了"}, nil)
points, err := driverExt.GetTextXYs([]string{"青少年模式", "我知道了"})
if err != nil {
time.Sleep(1 * time.Second)
continue