mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-07 08:27:35 +08:00
change: dump ocr texts as string in summary
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user