refactor: DriverSession

This commit is contained in:
lilong.129
2025-02-17 17:08:24 +08:00
parent c8d776009c
commit 29c0e1cbef
16 changed files with 377 additions and 396 deletions

View File

@@ -670,8 +670,7 @@ func runStepMobileUI(s *SessionRunner, step IStep) (stepResult *StepResult, err
}
// save attachments
session := uiDriver.GetSession()
for key, value := range session.GetData(true) {
for key, value := range uiDriver.GetData(true) {
attachments[key] = value
}
stepResult.Attachments = attachments