mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-09 22:44:05 +08:00
fix: WDA drap API, replace with /wda/dragfromtoforduration
This commit is contained in:
@@ -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
|
// update data options in post data for extra WDA configurations
|
||||||
actionOptions.updateData(data)
|
actionOptions.updateData(data)
|
||||||
// wda 43 version
|
// wda 43 version
|
||||||
_, err = wd.httpPOST(data, "/session", wd.session.ID, "/wda/drag")
|
_, err = wd.httpPOST(data, "/session", wd.session.ID, "/wda/dragfromtoforduration")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user