mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-07 00:39:34 +08:00
change: disable auto popup handler when swipe to find text
This commit is contained in:
@@ -1 +1 @@
|
||||
v5.0.0+2412252005
|
||||
v5.0.0+2412262256
|
||||
|
||||
@@ -162,10 +162,6 @@ func (dExt *DriverExt) swipeToTapTexts(texts []string, options ...ActionOption)
|
||||
dExt.ParseActionOptions(optionsWithoutIdentifier...)...)
|
||||
if err != nil {
|
||||
log.Error().Err(err).Strs("texts", texts).Msg("find texts failed")
|
||||
// target texts not found, try to auto handle popup
|
||||
if e := dExt.ClosePopupsHandler(); e != nil {
|
||||
log.Error().Err(e).Msg("run popup handler failed")
|
||||
}
|
||||
return err
|
||||
}
|
||||
log.Info().Strs("texts", texts).Interface("results", points).Msg("swipeToTapTexts successful")
|
||||
|
||||
Reference in New Issue
Block a user