Tag Info

Hot answers tagged

1

This is how I implemented a quick utility function to switch to a window based on the title: public static void switchToWindowWithTitle(String title, WebDriver driver) { Set<String> windowHandles = driver.getWindowHandles(); for(String handle : windowHandles){ driver.switchTo().window(handle); if ...



Only top voted, non community-wiki answers of a minimum length are eligible