mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-08 01:09:44 +08:00
refactor: merge ActionOption with DataOption
This commit is contained in:
@@ -24,5 +24,5 @@ func (dExt *DriverExt) DragOffsetFloat(pathname string, toX, toY, xOffset, yOffs
|
||||
|
||||
// FIXME: handle offset
|
||||
return dExt.Driver.DragFloat(point.X+xOffset, point.Y+yOffset, toX, toY,
|
||||
WithDataPressDuration(pressForDuration[0]))
|
||||
WithPressDuration(pressForDuration[0]))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user