mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-03 06:49:38 +08:00
change: convertToAbsoluteScope
This commit is contained in:
@@ -64,7 +64,7 @@ func (dExt *XTDriver) AutoPopupHandler() error {
|
||||
// TODO: check popup by activity type
|
||||
|
||||
// check popup by screenshot
|
||||
screenResult, err := dExt.GetScreenResult(
|
||||
texts, err := dExt.GetScreenTexts(
|
||||
option.WithScreenShotOCR(true),
|
||||
option.WithScreenShotUpload(true),
|
||||
option.WithScreenShotFileName("check_popup"),
|
||||
@@ -73,7 +73,7 @@ func (dExt *XTDriver) AutoPopupHandler() error {
|
||||
return errors.Wrap(err, "get screen result failed for popup handler")
|
||||
}
|
||||
|
||||
return dExt.handleTextPopup(screenResult.Texts)
|
||||
return dExt.handleTextPopup(texts)
|
||||
}
|
||||
|
||||
type PopupInfo struct {
|
||||
|
||||
Reference in New Issue
Block a user