mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-07 23:41:22 +08:00
refactor: integrate and optimize MCP tool calling methods
This commit is contained in:
@@ -281,7 +281,9 @@ func (ad *ADBDriver) AppLaunch(packageName string) (err error) {
|
||||
return errors.Wrap(code.MobileUILaunchAppError,
|
||||
fmt.Sprintf("monkey aborted: %s", strings.TrimSpace(sOutput)))
|
||||
}
|
||||
return nil
|
||||
|
||||
return postHandler(ad, option.ACTION_SetTouchInfo,
|
||||
option.NewActionOptions(option.WithAntiRisk(true)))
|
||||
}
|
||||
|
||||
func (ad *ADBDriver) AppTerminate(packageName string) (successful bool, err error) {
|
||||
|
||||
Reference in New Issue
Block a user