mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-06 06:51:23 +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,
|
"enable": true,
|
||||||
"data": identifier[0],
|
"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)
|
return dExt.Driver.SwipeFloat(fromX, fromY, toX, toY)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user