mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-06 07:57:27 +08:00
refactor: restructure
This commit is contained in:
@@ -27,6 +27,6 @@ func (dExt *DriverExt) DragOffsetFloat(pathname string, toX, toY, xOffset, yOffs
|
||||
fromX := x + width*xOffset
|
||||
fromY := y + height*yOffset
|
||||
|
||||
return dExt.WebDriver.DragFloat(fromX, fromY, toX, toY,
|
||||
return dExt.Driver.DragFloat(fromX, fromY, toX, toY,
|
||||
gwda.WithPressDuration(pressForDuration[0]))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user