title: Which collection should be preferred to handle, store and iterate over a large number of window popups using selenium webdriver?
body: <p>I am aware of the fact that we can handle window popups using driver.getWindowHandles() and then store it in a Set and then iterate over it. But what if there are more than 100 window popups?</p>
  
  <p>Consider a scenario where user navigates to a webpage with a link on it. It clicks on this link a new window popup appears and then user click on link on that popup and again another window popup appears and so on..upto 100 or more popups..</p>
  
  <p>Which collection should be preferred in such case? or what approach should be applied in such a case?</p>