Java Selenium Nouvelle fenêtre vide
// This will open the new tab
driver.switchTo().newWindow(WindowType.TAB);
// This will open the new window
driver.switchTo().newWindow(WindowType.WINDOW);
Tender Tapir