This page has a broken link.
In an ideal scenario a website should have no broken links. Therefore, it’s important to ensure that all links are working properly. One way to do that is to verify that the HTTP response code is 200 when the link is clicked.
In this case, clicking the link will return a response code of 404 (Not Found). You could write an automated test that checks for the expected response code of 200.
Tip: Try using Chrome DevTools and look at the Network tab when you click the link. You should see an entry such as this:
| Name | Status |
|---|---|
| missing-page.html | 404 |
