Skip to content

iroy2000/casper-netsniff-spider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

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

About

This is a mashup of casper netsniff and spider.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published