code: public function getLink($label, $index = 0)
      {
          $urls = $this->page->getUrlsByLabel($label);
          if (count($urls) == 0) {
              return false;
          }
          if (count($urls) < $index + 1) {
              return false;
          }
  
          return $urls[$index];
      }
docs: Finds a URL by label. Will find the first link found with this link text by default,
  or a later one if an index is given. The match ignores case and white space issues.
  
  @param string $label     Text between the anchor tags.
  @param int $index    Link position counting from zero.
  
  @return string/boolean   URL on success.