Snapshot a sample website using a sitemap and custom-filter
All examples assume you already have NodeJS installed on your local machine
- Clone this repo
- Open a command prompt
- Change to the examples/custom directory
- Run
npm install
- Run
npm start
This example snapshots the entire website of the WPSPA example application using its sitemap to drive.
It makes use of a custom filter to strip various tags (and even replace some text) from the output before the snapshots are stored.
This example creates a local tmp
directory where the snapshot output is stored.
Inspect the output directory structure and contents.
Compare snapshots with the original website to see what happened.