相关疑难解决方法(0)

如何使用casperjs/phantomjs保存当前网页?

有没有办法使用casperjs或phantomjs保存当前的网页?我试图获取html并将其保存到文件中.但是生成的文件与当时的截图(with casper.capture)有很大不同.有没有办法保存当前的网页?

javascript phantomjs casperjs

5
推荐指数
1
解决办法
5477
查看次数

Automate daily csv file download from website button click

I would like to automate the process of visiting a website, clicking a button, and saving the file. The only way to download the file on this site is to click a button. You can't navigate to the file using a url.

I have been trying to use phantomjs and casperjs to automate this process, but haven't had any success.

I recently tried to use brandon's solution here Grab the resource contents in CasperJS or PhantomJS

Here is my code …

javascript csv automation phantomjs casperjs

4
推荐指数
1
解决办法
2万
查看次数

标签 统计

casperjs ×2

javascript ×2

phantomjs ×2

automation ×1

csv ×1