From 70366ed83e3d3f2bc41c24672da9ebd1903a71f4 Mon Sep 17 00:00:00 2001 From: "lilong.129" Date: Wed, 23 Jul 2025 21:27:40 +0800 Subject: [PATCH] fix: add 1s interval when swipe to first screen --- uixt/driver_ext_swipe.go | 1 + 1 file changed, 1 insertion(+) diff --git a/uixt/driver_ext_swipe.go b/uixt/driver_ext_swipe.go index 32d1b59d..0fc3cb1f 100644 --- a/uixt/driver_ext_swipe.go +++ b/uixt/driver_ext_swipe.go @@ -163,6 +163,7 @@ 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...) + time.Sleep(1 * time.Second) } opts = append(opts, option.WithDirection("left"))