Before tagging this as duplicate. Please read the Question. i have seen many answers for this kind of question. But none of them really worked. The closest that worked is this code below by twobytehero..
Selenium 2: Open link in new tab and close tabs
But its opening a window instead of a tab and i am not able to control the delay. I am using selenium 3. Using Selenium WebDriver with JAVA , I am trying to automate a functionality where I have to open a new tab do some operations there and come back to previous tab (Parent). Whats the best possible way to do it with firefox ??