From ae5b48b2a15d4495db5b3a221b8a0628058b94c4 Mon Sep 17 00:00:00 2001 From: "lilong.129" Date: Wed, 18 Sep 2024 21:34:34 +0800 Subject: [PATCH] fix: WDA drap API, replace with /wda/dragfromtoforduration --- hrp/pkg/uixt/ios_driver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hrp/pkg/uixt/ios_driver.go b/hrp/pkg/uixt/ios_driver.go index df52a9ad..2e21f2f9 100644 --- a/hrp/pkg/uixt/ios_driver.go +++ b/hrp/pkg/uixt/ios_driver.go @@ -564,7 +564,7 @@ func (wd *wdaDriver) DragFloat(fromX, fromY, toX, toY float64, options ...Action // update data options in post data for extra WDA configurations actionOptions.updateData(data) // wda 43 version - _, err = wd.httpPOST(data, "/session", wd.session.ID, "/wda/drag") + _, err = wd.httpPOST(data, "/session", wd.session.ID, "/wda/dragfromtoforduration") return }