Is there any method in selenium to get that text is a Link or simple text
You can use is_element_present('link=' + text). This will return true if text is a link otherwise false. Caution: You need to escape special characters in text. While testing this I was looking for a link that had a question mark in it and it was not found.
Is there any method in selenium to get that text is a "Link" or simple text