mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-04 23:16:57 +08:00
feat: implement unified XTDriver cache
This commit is contained in:
+4
-1
@@ -692,7 +692,10 @@ func runStepMobileUI(s *SessionRunner, step IStep) (stepResult *StepResult, err
|
||||
})
|
||||
|
||||
// init wda/uia/hdc driver
|
||||
uiDriver, err := s.caseRunner.GetUIXTDriver(mobileStep.Serial)
|
||||
config := uixt.DriverCacheConfig{
|
||||
Serial: mobileStep.Serial,
|
||||
}
|
||||
uiDriver, err := uixt.GetOrCreateXTDriver(config)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user