Cypress dead-link checker, checking both for undefined in href and checking responses via pages set in fixtures/urls.json (initial 404 on brokenpage can be skipped and allow tests to check links on "404 Page")
Nodejs >8 must be installed (if not using docker)
Run below command to install cypress package (use npm or yarn or any other node package manager)
npm installOnce installation is completed successfully, run below command
npx cypress opennpx cypress rundocker build -t linkstest .
docker run -i -v "`pwd`/cypress":/cypress linkstest