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