fix: WDA drap API, replace with /wda/dragfromtoforduration

This commit is contained in:
lilong.129
2024-09-18 21:34:34 +08:00
parent 1d3a61ebee
commit ae5b48b2a1

View File

@@ -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
}