change: fix screenshot filename

This commit is contained in:
lilong.129
2023-04-18 22:08:10 +08:00
parent 1ffee4734e
commit 72e1780b1c
2 changed files with 2 additions and 2 deletions

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