mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
fix: swipe 2 times
This commit is contained in:
@@ -31,7 +31,7 @@ func (dExt *DriverExt) SwipeRelative(fromX, fromY, toX, toY float64, identifier
|
||||
"enable": true,
|
||||
"data": identifier[0],
|
||||
})
|
||||
dExt.Driver.SwipeFloat(fromX, fromY, toX, toY, option)
|
||||
return dExt.Driver.SwipeFloat(fromX, fromY, toX, toY, option)
|
||||
}
|
||||
return dExt.Driver.SwipeFloat(fromX, fromY, toX, toY)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user