I'm using Protractor for e2e tests. I want to test all the links in my website to see whether they are broken or not. the thing is that I can't use existing tools for 2 reasons: 1. we are using Angular, so the server doesn't really returns '404' code, but the result is 'http://www../404' 2. there is a login in order to go over the pages, and regular tools don't support it.
Can anyone help with how to do it using Protractor? Thanks.