CitiusTech interview question

wap selenium code to find all broken links from webpage