How to check links that require authentication

Hi,

Has anyone had any success in using either of the link checking keywords:

WebUI.verifyLinksAccessible([])
WebUI.verifyAllLinksOnCurrentPageAccessible(false, [])

When I run either of these, there are instances of “403 Forbidden” responses in the HTTP Archive (HAR) files because some of the links on the website that I am checking are to other pages within the website.

Is there any way to include authentication parameters in the URL? e.g. username/password/authentication token ?

You can try the following format:

WebUI.navigateToUrl("http://username:password@example.com/")