-
用xpath查找元素时报错:webview Page.getElementByXpath unimplemented
原因:有可能是调试基础库版本太低了,调高即可。
-
用self.navigate_to_open(router)报错:MiniAppError: can not navigateTo a tabbar page
原因:navigateTo/redirectTo都不能跳转tarBar内的页面
解决方法:用self.mini.app.switch_tab(route)即可
【小程序自动化Minium】元素定位问题及解决方法
于 2022-12-26 14:54:38 首次发布