比如: modal框的确认按钮
automator.launch().then(async miniProgram => { await miniProgram.mockWxMethod('showModal', { confirm: true, cancel: false })})