title: Handle Window popup with in Popup playwright java
body: <p>I have a requirement that my main page has link and after a click on that link popup new window, and in that window has link and when I click on that link will pop up another new window. and need to enter value there. How to handle this in playwright.
  I tried the below code and it didn't work.</p>
  <pre><code>Page ePagePopup= BaseTest.page.waitForPopup(() -&gt; {
  adapterRouteDetailPage.editRuleBtnClick();
  });
  
  ePagePopup.waitForLoadState();
  Page tPagePopup= BaseTest.page.waitForPopup(() -&gt; {
  ePagePopup.translationLink.click();// new window getting open
  });
  //not comes to here.
  tPagePopup.waitForLoadState()
  </code></pre>