In a webpage there are 15 links that starts with similar link names which are inside an iframe. If I try to fetch those not all the links are fetched. Below are the code I tried.
driver = webdriver.Chrome(ChromeDriverManager().install())
WebDriverWait(driver, 20).until(EC.frame_to_be_available_and_switch_to_it(("xpath", "//*[@id='brandBand_2']/div/iframe")))
wo_link1 = WebDriverWait(driver, 20).until(EC.visibility_of_all_elements_located(("partial link text", 'SA')))
for link in wo_link1:
print(str(link.get_attribute("href")))
If I manually zoom out the webpage to the maximum extent, then I am able to get all the links. Is there are any other ways to get those links without zooming out?