fix: swipe with params

This commit is contained in:
lilong.129
2025-05-14 14:36:46 +08:00
parent 6f428ce5cd
commit d145784910
6 changed files with 123 additions and 10 deletions

View File

@@ -151,9 +151,6 @@ func convertCompatMobileStep(mobileUI *MobileUI) {
if ma.Method == uixt.ACTION_SwipeToTapText && actionOptions.MaxRetryTimes == 0 {
ma.ActionOptions.MaxRetryTimes = 10
}
if ma.Method == uixt.ACTION_Swipe {
ma.ActionOptions.Direction = ma.Params
}
mobileUI.Actions[i] = ma
}
}