string pageUrl, 
  string expectedLinkHref, 
  string expectedLinkText (optional), 
  bool checkNofollow (optional)
) : string

Verifies that a backlink is present on a page with the correct link text and that there’s no rel=nofollow.

This is a very useful function when validating that links you have "acquired" are still present.


"","An awesome page",TRUE)

In the example we verify that there’s a link to on with the anchorText “An awesome page” and that this link is not rel=nofollow.

expectedLinkHref and expectedLinkText supports wildcards:


In this example we check if there's any link to http://* (where * can be anything) that's has a link text that starts with "Suggestion" on


comments powered by Disqus