'Test all assets linked from pages on web server
I have a NodeJS web server and am changing things around a good deal. With Test all internal links, I can test the validity of all internal links and ensure no stale links. I would like to do the same with images and ensure that the user never sees a missing image.
The hyperlink package says it also checks assets:
Hyperlink is known to:
- Detect broken links to internal assets
But I just checked that it does not, because I deleted one file and the report came out without errors.
How can I use a web-crawler, similar to hyperlink, to test that no internal website page has an asset giving 404?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
