diff --git a/internal/version/VERSION b/internal/version/VERSION index c9cf3bd5..d2ec00f5 100644 --- a/internal/version/VERSION +++ b/internal/version/VERSION @@ -1 +1 @@ -v5.0.0+2503041726 +v5.0.0+2503041818 diff --git a/pkg/uixt/driver_ext/ios_stub_driver.go b/pkg/uixt/driver_ext/ios_stub_driver.go index f93c7fa7..516b9428 100644 --- a/pkg/uixt/driver_ext/ios_stub_driver.go +++ b/pkg/uixt/driver_ext/ios_stub_driver.go @@ -7,12 +7,11 @@ import ( "net/url" "time" - "github.com/httprunner/httprunner/v5/pkg/uixt/types" - "github.com/httprunner/httprunner/v5/code" "github.com/httprunner/httprunner/v5/internal/builtin" "github.com/httprunner/httprunner/v5/pkg/uixt" "github.com/httprunner/httprunner/v5/pkg/uixt/option" + "github.com/httprunner/httprunner/v5/pkg/uixt/types" "github.com/pkg/errors" "github.com/rs/zerolog/log" diff --git a/server/ui.go b/server/ui.go index 38b1a8b6..aaa1d7f1 100644 --- a/server/ui.go +++ b/server/ui.go @@ -129,7 +129,7 @@ func (r *Router) doubleTapHandler(c *gin.Context) { } if tapReq.X < 1 && tapReq.Y < 1 { - err = driver.DoubleTap(tapReq.X, tapReq.Y) + err = driver.DoubleTap(tapReq.X, tapReq.Y, option.WithRelative(true)) } else { err = driver.DoubleTap(tapReq.X, tapReq.Y) }