refactor: move Call function

This commit is contained in:
lilong.129
2025-06-09 20:52:32 +08:00
parent f1544d4a5c
commit dd52faef57
5 changed files with 36 additions and 53 deletions
+1 -1
View File
@@ -884,7 +884,7 @@ func runStepMobileUI(s *SessionRunner, step IStep) (stepResult *StepResult, err
// call custom function
if action.Method == option.ACTION_CallFunction {
if funcDesc, ok := action.Params.(string); ok {
err := uiDriver.Call(funcDesc, action.Fn, action.GetOptions()...)
err := Call(funcDesc, action.Fn, action.GetOptions()...)
if err != nil {
return stepResult, err
}