Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java selenium new empty tab

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

// This will open the new window
driver.switchTo().newWindow(WindowType.WINDOW);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #selenium #empty #tab
ADD COMMENT
Topic
Name
9+4 =