mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-03 14:59:38 +08:00
refactor: DriverSession
This commit is contained in:
@@ -102,7 +102,7 @@ func (dExt *XTDriver) GetScreenResult(opts ...option.ActionOption) (screenResult
|
||||
}
|
||||
|
||||
// cache screen result
|
||||
dExt.GetSession().addScreenResult(screenResult)
|
||||
dExt.screenResults = append(dExt.screenResults, screenResult)
|
||||
|
||||
if imageResult != nil {
|
||||
screenResult.Texts = imageResult.OCRResult.ToOCRTexts()
|
||||
|
||||
Reference in New Issue
Block a user