def get_link_text_from_selector(selector):
if selector.startswith('<STR_LIT>'):<EOL><INDENT>return selector.split('<STR_LIT>')[<NUM_LIT:1>]<EOL><DEDENT>elif selector.startswith('<STR_LIT>'):<EOL><INDENT>return selector.split('<STR_LIT>')[<NUM_LIT:1>]<EOL><DEDENT>return selector<EOL>
A basic method to get the link text from a link text selector.