Skip to content
This is a mashup of casper netsniff and spider.js
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
helpers.js
netsniff-spider.js

README.md

Casper netsniff Spider

This is a mashup of casper netsniff with spider.js, which combined became an automated performance testing script.

Disclaimer: Spider.js is a very useful script I grabbed from the internet, and the author should be the owner of this blog - http://planzero.org/blog/2013/03/07/spidering_the_web_with_casperjs

This mashup has integrated casper netsniff functions into spider.js, which let's you to crawl through the whole site by specify an entry point, and for each link it sees, it will take screenshot as well as generate har file for you.

Usage

casper netsniff-spider.js your_site_entry_point

Troubleshooting

You may need to create 2 folders in the same directory as your netsniff-spider.js, one is 'har/' and the other one is 'png'. Feel free to contact iroy2000 [at] gmail.com if you have any questions.

Here is some sample screenshots

  • Capture Screenshot for each link it crawled

image alt

  • You can view your performance metrics with the file generated

image alt

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.