From 72e1780b1c4372cc63139fa9afddcfbef37494db Mon Sep 17 00:00:00 2001 From: "lilong.129" Date: Tue, 18 Apr 2023 22:08:10 +0800 Subject: [PATCH] change: fix screenshot filename --- hrp/internal/version/VERSION | 2 +- hrp/pkg/uixt/ext.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hrp/internal/version/VERSION b/hrp/internal/version/VERSION index 3bafdfb4..92e4a34f 100644 --- a/hrp/internal/version/VERSION +++ b/hrp/internal/version/VERSION @@ -1 +1 @@ -v4.3.3.2304182109 \ No newline at end of file +v4.3.3.2304182207 \ No newline at end of file diff --git a/hrp/pkg/uixt/ext.go b/hrp/pkg/uixt/ext.go index bff5f541..ca09aaed 100644 --- a/hrp/pkg/uixt/ext.go +++ b/hrp/pkg/uixt/ext.go @@ -704,7 +704,7 @@ func (dExt *DriverExt) DoAction(action MobileAction) error { case CtlScreenShot: // take screenshot log.Info().Msg("take screenshot for current screen") - _, err := dExt.TakeScreenShot(builtin.GenNameWithTimestamp("screenshot_%d")) + _, err := dExt.TakeScreenShot(builtin.GenNameWithTimestamp("step_%d_screenshot")) return err case CtlStartCamera: return dExt.Driver.StartCamera()