mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-11 18:11:21 +08:00
fix: update ACTION_WebCloseTab
This commit is contained in:
@@ -340,7 +340,7 @@ func (s *StepMobile) TapBySelector(selector string, options ...option.ActionOpti
|
||||
|
||||
func (s *StepMobile) ClosePage(idx int, options ...option.ActionOption) *StepMobile {
|
||||
action := uixt.MobileAction{
|
||||
Method: uixt.ACTION_ClosePage,
|
||||
Method: uixt.ACTION_WebCloseTab,
|
||||
Params: idx,
|
||||
Options: option.NewActionOptions(options...),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user