GetLinks class is working fine using driver.get functionality to get all the links