mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-13 00:11:28 +08:00
feat: DriverSession Get and Reset
This commit is contained in:
@@ -108,7 +108,7 @@ func (wd *wdaDriver) NewSession(capabilities Capabilities) (sessionInfo SessionI
|
||||
if sessionInfo, err = rawResp.valueConvertToSessionInfo(); err != nil {
|
||||
return SessionInfo{}, err
|
||||
}
|
||||
wd.Driver.session.Init()
|
||||
wd.Driver.session.Reset()
|
||||
wd.Driver.session.ID = sessionInfo.SessionId
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user