webBlinkViewObject.waitQuerySelector("CSS选择器",超时)
var r1=mb.waitQuerySelector(".header_tit")
console.dump(r1.innerText)//返回结点文本,不存在返回空
var linkList={}
var i=1;
while(true){
var editList=mb.queryEles("table > tbody > tr > td:nth-child(11) > a:nth-child(1)");//查询多个元素
for(i=1;#editList;1){
table.insert(linkList,editList[i].href);
}
//获取多个链接href
//调用js中的值,传给aardio
mb.go("https://www.51sole.com/");
win.delay(3000)
mb.doScript("window.xx=document.querySelector('.banner_r_user_t').innerText;");
console.dump(mb.window.xx);
//不跨域js获取编辑器中的内容
mb.doScript("
var edit = document.getElementsByClassName('ke-edit-iframe')[0].contentWindow;
window.content=edit.document.body.innerHTML;
");
console.dump(mb.window.content);