diff --git a/internal/version/VERSION b/internal/version/VERSION index 1085f853..e5858edd 100644 --- a/internal/version/VERSION +++ b/internal/version/VERSION @@ -1 +1 @@ -v5.0.0-250723 +v5.0.0-250724 diff --git a/uixt/driver_ext_swipe.go b/uixt/driver_ext_swipe.go index 0fc3cb1f..f23f2fe1 100644 --- a/uixt/driver_ext_swipe.go +++ b/uixt/driver_ext_swipe.go @@ -162,7 +162,11 @@ func (dExt *XTDriver) SwipeToTapApp(appName string, opts ...option.ActionOption) // swipe to first screen for i := 0; i < 5; i++ { - dExt.Swipe(0.5, 0.5, 0.9, 0.5, optionsWithoutIdentifier...) + err := dExt.Swipe(0.5, 0.5, 0.9, 0.5, optionsWithoutIdentifier...) + if err != nil { + log.Error().Err(err).Msgf("swipe to tap app %s failed", appName) + return errors.Wrapf(err, "swipe to tap app %s failed", appName) + } time.Sleep(1 * time.Second) }