findview(),方法使用报错

Oct 3, 2021, 5:57:05 PM
代码: function main() { var ret = smartFindView('id:com.tencent.gallerymanager:id/enter_btn', {failed: exitPopup, maxStep:50}); if (ret.length <= 0) { console.error('找不到容器'); return result; } console.log("+++++++++++++++++"); console.log(ret); console.log("+++++++++++++++++"); if(ret.length>0){ console.log("1111111111111111"); console.log(ret); console.log("1111111111111111"); } } 报错信息: 157 17:27:54.513 +++++++++++++++++ 158 17:27:54.515 error FunctionExpr NoSuchMethodException-- obj:com.libra.sar.robot.jsengine.var.object.Console@d518b05 item:log 159 17:27:54.516 +++++++++++++++++
发表评论
最新评论
商务合作QQ:2231485359
Copyright © 2021-2024 冰狐智能辅助. All rights reserved. 浙ICP备15043866号-4 《冰狐智能辅助服务协议》