mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-12 19:29:46 +08:00
refactor: add DriverSession, move step cache to Driver session
This commit is contained in:
@@ -51,7 +51,7 @@ func (dExt *DriverExt) GetScreenResult(options ...ActionOption) (screenResult *S
|
||||
Resolution: dExt.WindowSize,
|
||||
}
|
||||
// cache screen result
|
||||
dExt.DataCache.addScreenResult(screenResult)
|
||||
dExt.Driver.GetSession().addScreenResult(screenResult)
|
||||
|
||||
imageResult, err := dExt.ImageService.GetImage(bufSource, options...)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user