this.waitFor(
function() {
return this.evaluate(function() { //Function testFX
return !!($("#the_last_tr_td").text().trim() == "다운로드");
});
}
,function () { //function Then
button_text = this.evaluate(function() {
return $("#the_last_tr_td").text().trim();
});
}
,function () { //timeout
console.log("Sorry, timeout!");
}
,10000 //timeout limit
);
복잡하다
이건 걍 api가 좀 구린듯
님이 어떻게 할 수 있는 문제가 아님