java selenium new window

50

java selenium new window -

// This will open the new tab
driver.switchTo().newWindow(WindowType.TAB);

// This will open the new window
driver.switchTo().newWindow(WindowType.WINDOW);

Comments

Submit
0 Comments