mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-10 23:12:41 +08:00
fix: handle GetOrCreateXTDriver when serial is empty
This commit is contained in:
@@ -693,7 +693,8 @@ func runStepMobileUI(s *SessionRunner, step IStep) (stepResult *StepResult, err
|
||||
|
||||
// init wda/uia/hdc driver
|
||||
config := uixt.DriverCacheConfig{
|
||||
Serial: mobileStep.Serial,
|
||||
Platform: mobileStep.OSType,
|
||||
Serial: mobileStep.Serial,
|
||||
}
|
||||
uiDriver, err := uixt.GetOrCreateXTDriver(config)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user