change: fix screenshot filename

This commit is contained in:
lilong.129
2023-04-18 22:08:10 +08:00
parent e70ad2c4c6
commit 59ca29b1ca
2 changed files with 2 additions and 2 deletions

View File

@@ -1 +1 @@
v4.3.3.2304182109
v4.3.3.2304182207

View File

@@ -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()