Add index param to assertLinkByHref()