mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-31 21:39:41 +08:00
Merge branch 'lazy-setup-wda' into wings
This commit is contained in:
@@ -34,6 +34,13 @@ const (
|
||||
)
|
||||
|
||||
func NewStubIOSDriver(dev *uixt.IOSDevice) (*StubIOSDriver, error) {
|
||||
// lazy setup WDA
|
||||
dev.Options.LazySetup = true
|
||||
|
||||
wdaDriver, err := uixt.NewWDADriver(dev)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
driver := &StubIOSDriver{
|
||||
Device: dev,
|
||||
timeout: 10 * time.Second,
|
||||
|
||||
Reference in New Issue
Block a user