On Tue, May 9, 2017 at 6:08 AM, sebb <[email protected]> wrote: > The site scanner currently looks for specific links *or* specific text. > > This does not always work well, e.g. httpd uses 'Sponsors' for the > 'Thanks' link, so it appears to have no link rather than one with an > 'incorrect' name. > > I think it would be better to search for both the expected text and > the expected link, and record any matches for either. > > Probably the search targets should also be recorded in the analysis output. > This should make it easier for the analysis to report what was expected. > > for example: > > httpd: { > ... > sponsorship: { > text: { > expected: "Thanks", > found: ["http://.../"] > }, > link: { > expected: "http://...", > found: ["Sponsors"] > }, > } > } > > > Obviously this would mean changes to the analysis as well. > > Thoughts?
If you would be willing to change both scripts to match... go for it! - Sam Ruby
