mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-04 23:16:57 +08:00
feat: report MobileUITapError/MobileUISwipeError/MobileUIInputError
This commit is contained in:
@@ -499,11 +499,11 @@ func (wd *wdaDriver) TapFloat(x, y float64, options ...ActionOption) (err error)
|
||||
return
|
||||
}
|
||||
|
||||
func (wd *wdaDriver) DoubleTap(x, y int) error {
|
||||
return wd.DoubleTapFloat(float64(x), float64(y))
|
||||
func (wd *wdaDriver) DoubleTap(x, y int, options ...ActionOption) error {
|
||||
return wd.DoubleTapFloat(float64(x), float64(y), options...)
|
||||
}
|
||||
|
||||
func (wd *wdaDriver) DoubleTapFloat(x, y float64) (err error) {
|
||||
func (wd *wdaDriver) DoubleTapFloat(x, y float64, options ...ActionOption) (err error) {
|
||||
// [[FBRoute POST:@"/wda/doubleTap"] respondWithTarget:self action:@selector(handleDoubleTapCoordinate:)]
|
||||
data := map[string]interface{}{
|
||||
"x": wd.toScale(x),
|
||||
|
||||
Reference in New Issue
Block a user