mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-11 18:11:21 +08:00
fix: format
This commit is contained in:
@@ -1 +1 @@
|
||||
v5.0.0+2503041726
|
||||
v5.0.0+2503041818
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user