fix: add missing action options

This commit is contained in:
lilong.129
2025-06-19 21:57:26 +08:00
parent 9e589dec16
commit ed5d3127cb
8 changed files with 71 additions and 8 deletions
+3 -1
View File
@@ -136,7 +136,9 @@ func (dExt *XTDriver) createScreenshotWithSession(opts ...option.ActionOption) (
screenResult.Popup.ClosePoints = append(screenResult.Popup.ClosePoints, closeArea.Center())
}
}
logger.Str("imageUrl", screenResult.UploadedURL)
if screenResult.UploadedURL != "" {
logger.Str("imageUrl", screenResult.UploadedURL)
}
}
}