mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-05 15:59:33 +08:00
refactor: add DriverSession, move step cache to Driver session
This commit is contained in:
@@ -897,11 +897,8 @@ func (wd *wdaDriver) StopCaptureLog() (result interface{}, err error) {
|
||||
return reply.Value, nil
|
||||
}
|
||||
|
||||
func (wd *wdaDriver) GetDriverResults() []*DriverResult {
|
||||
defer func() {
|
||||
wd.Driver.driverResults = nil
|
||||
}()
|
||||
return wd.Driver.driverResults
|
||||
func (ud *wdaDriver) GetSession() *DriverSession {
|
||||
return ud.Driver.session
|
||||
}
|
||||
|
||||
type rawResponse []byte
|
||||
|
||||
Reference in New Issue
Block a user