miniprogram-automator 点击按钮跳转为什么打印路径不对?
miniprogram-automator 模拟跳转 成功之后 打印await miniProgram.currentPage();页面为上一页路径?导致拿不到当前页面元素
const page = await miniProgram.navigateTo('/page/vaccinesPage/pages/vaccinesPublishPage/vaccinesPublishPage');
const btn = await page.$('.bottom');
await btn.tap()//点击按钮跳转
let currentPage = await miniProgram.currentPage();//为上一页的页面路径