refactor: move sessionId to driver.session

This commit is contained in:
lilong.129
2024-09-02 14:33:49 +08:00
parent 08cb50b698
commit bfe46fa1d6
9 changed files with 78 additions and 79 deletions
+1 -1
View File
@@ -652,7 +652,7 @@ func runStepMobileUI(s *SessionRunner, step *TStep) (stepResult *StepResult, err
for key, value := range session.GetAll() {
attachments[key] = value
}
session.Clear() // clear step cache
session.Init() // clear step cache
stepResult.Attachments = attachments
}()