Test script tests a link by calling fetch:
const response = await fetch(linkUrl);
return response.ok;
Theory: this intermittently fails to download the entire page (timeouts, etc.). Adjusting this to use the HEAD method should at least make this more efficient, but at best will reduce or eliminate the intermittent failures.
Test script tests a link by calling
fetch:Theory: this intermittently fails to download the entire page (timeouts, etc.). Adjusting this to use the
HEADmethod should at least make this more efficient, but at best will reduce or eliminate the intermittent failures.