mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-12 16:01:27 +08:00
降低wda初始化接口调用
This commit is contained in:
@@ -217,6 +217,7 @@ func (dev *IOSDevice) getAppInfo(packageName string) (appInfo types.AppInfo, err
|
||||
|
||||
func (dev *IOSDevice) NewDriver() (driver IDriver, err error) {
|
||||
wdaDriver, err := NewWDADriver(dev)
|
||||
_, _ = wdaDriver.Status()
|
||||
if err != nil {
|
||||
return nil, errors.Wrap(err, "failed to init WDA driver")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user