我想从 url 保存文件,但打开 iframe 我可以在其中确认操作。但是如何使用 PhantomJs 确认操作
var url = 'http://github.com/laurentj/slimerjs/archive/master.zip'; // example, this url link to file
page.open(url )
.then(function(status){
if(status == "success") {
// open window where i can confirm my actions
}
})