Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

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);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #selenium #open #tab
ADD COMMENT
Topic
Name
3+2 =