0.1.5 • Published 9 years ago

casper-crawl v0.1.5

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

Crawl for CasperJS

A CasperJS script that crawls one or more pages on your site and tests for broken <a>, <link>, <script> and <img> links.

Install Dependencies

Install PhantomJs and CasperJs

Installation

npm install --save casper-crawl

Basic Usage : Testing a single page

casperjs crawl.js http://my-website.com

Testing multiple pages on a website

casperjs crawl.js http://my-website.com --pages=about,contact,careers/apply

This will test for broken urls on

  • http://my-website.com/about
  • http://my-website.com/contact
  • http://my-website.com/careers/apply

Passing in http authentication variables

casperjs crawl.js http://my-website.com --httpUser=username --httpPassword=password

Dealing with ssl issues over https

casperjs crawl.js --web-security=no --ignore-ssl-errors=true https://localhost:4000
0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.2

9 years ago