miniprogram-automator自动化测试如何获取弹窗元素?

发布于 7 年前作者 weihu9073 次浏览最后编辑 7 年前来自 issues

比如: modal框的确认按钮

1 回复
juanyao
juanyao1 楼5 年前
automator.launch().then(async miniProgram => {
  await miniProgram.mockWxMethod('showModal', {
    confirm: true,
    cancel: false
  })})