Answers for "java selenium new empty window"

1

java selenium new empty window

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

// This will open the new window
driver.switchTo().newWindow(WindowType.WINDOW);
Posted by: Guest on March-08-2022

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language