Enter your email address:
How to Open New tab using selenium Web Driver java code?
Try this ->
String newTab=Keys.chord(Keys.Control,’t’) -> This will open an empty tab.
driver.findElement(‘XPath of URL’).sendKeys(newTab) -> To open a link in the new tab