code: def get_link_text_from_selector(selector):
      
      if selector.startswith('link='):
          return selector.split('link=')[1]
      elif selector.startswith('link_text='):
          return selector.split('link_text=')[1]
      return selector
docs: A basic method to get the link text from a link text selector.