feat: add AssertForegroundApp for ios

This commit is contained in:
lilong.129
2024-11-23 21:49:17 +08:00
parent ec508012a9
commit 270180603c
4 changed files with 32 additions and 6 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ func newStubIOSDriver(bightInsightAddr, serverAddr string, dev *IOSDevice, readT
driver.serverPrefix = serverAddr
driver.timeout = timeout
driver.Driver.client = &http.Client{
Timeout: time.Second * 20, // 设置超时时间为 10 秒
Timeout: time.Second * 10, // 设置超时时间为 10 秒
}
return driver, nil
}