how to find duplicate links in selenium