It is a very common requirement in automated testing to get the list of all links, the instance when this is generally required is: To see if all desired links are present in a web page. In case of multiple links having same text, there would be necessity to click on a specific link though the… (1 comment)