mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-05 07:26:55 +08:00
feat: cache screenshot ocr texts
This commit is contained in:
@@ -292,7 +292,7 @@ func (dExt *DriverExt) GetScreenTextsByOCR() (texts OCRTexts, err error) {
|
||||
}
|
||||
|
||||
o, _ := json.Marshal(ocrTexts)
|
||||
dExt.stepScreenShots[imagePath] = string(o)
|
||||
dExt.cacheStepData.OcrResults[imagePath] = string(o)
|
||||
return ocrTexts, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user