Answers for "java selenium open new tab"

1

java selenium open new tab

// 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 selenium open new tab"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language