change: dump ocr texts as string in summary

This commit is contained in:
lilong.129
2023-04-28 13:23:52 +08:00
parent 37a984c243
commit 2323015755
2 changed files with 8 additions and 7 deletions
+2 -1
View File
@@ -291,7 +291,8 @@ func (dExt *DriverExt) GetScreenTextsByOCR() (texts OCRTexts, err error) {
return
}
dExt.stepScreenShots[imagePath] = ocrTexts
o, _ := json.Marshal(ocrTexts)
dExt.stepScreenShots[imagePath] = string(o)
return ocrTexts, nil
}