Browser tabs in Java Playwright
showCheck.click(); page.waitForLoadState(LoadState.LOAD); Page checkImagePage = page.context().pages().get(1); ElementHandle checkImage = checkImagePage.querySelector(“#img1”); The showCheck.click() call should open a new tab in the browser, and that’s exactly what happens. A new tab appears in the browser window showing exactly what I expect it to show. So far, so good. Now I want to interact with the new tab. […]