title: Unable to switch among the windows
body: <p>I am automating using selenium 2.0, my application launches the login page by default in a new window, hence my application has by default two windows. These two windows will remain open always. In this case I could switch between the windows without any problem. The below code is executed without any errors.  </p>
  
  <pre><code>for(String winHandle : driver.getWindowHandles()){
          driver.switchTo().window(winHandle);
  }   
  </code></pre>
  
  <p>The problem starts while clicking the menu options a pop up window launches to search the records. Here, I need to switch between these three windows. I tried the below piece of code. It returns only the first two window handles. </p>
  
  <p>Set availableWindows = driver.getWindowHandles(); </p>
  
  <p>This popup window is coded in such a way that, "In a .jsp file it is parameterised as window.open()". </p>
  
  <p>Please let me know, if some one could help me on this?  </p>