feat: lazy setup WDA

This commit is contained in:
lilong.129
2025-02-19 16:54:26 +08:00
parent bf78e6702a
commit a4b0fc2ed5
5 changed files with 33 additions and 4 deletions

View File

@@ -30,6 +30,9 @@ 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