mirror of
https://github.com/httprunner/httprunner.git
synced 2026-08-02 12:06:57 +08:00
refactor: use WithRelative to set relative coordinate, absolute by default
This commit is contained in:
@@ -52,7 +52,7 @@ type IDriver interface {
|
||||
// tap
|
||||
TapXY(x, y float64, opts ...option.ActionOption) error // by percentage
|
||||
TapAbsXY(x, y float64, opts ...option.ActionOption) error // by absolute coordinate
|
||||
DoubleTap(x, y float64, opts ...option.ActionOption) error // by percentage
|
||||
DoubleTap(x, y float64, opts ...option.ActionOption) error // by absolute coordinate
|
||||
TouchAndHold(x, y float64, opts ...option.ActionOption) error
|
||||
// swipe
|
||||
Drag(fromX, fromY, toX, toY float64, opts ...option.ActionOption) error
|
||||
|
||||
Reference in New Issue
Block a user