fix: add swipe_to_tap_texts action

This commit is contained in:
xucong.053
2022-10-11 16:33:10 +08:00
parent a697623ae2
commit 113d0eee3a
5 changed files with 46 additions and 28 deletions
+1 -1
View File
@@ -246,7 +246,7 @@ func (s *StepIOS) SwipeToTapText(text string, options ...uixt.ActionOption) *Ste
func (s *StepIOS) SwipeToTapTexts(texts []string, options ...uixt.ActionOption) *StepIOS {
action := uixt.MobileAction{
Method: uixt.ACTION_SwipeToTapText,
Method: uixt.ACTION_SwipeToTapTexts,
Params: texts,
}
for _, option := range options {