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).
I
It is A very simple process: assume you have two tabs so you need to first close the current tab by using client.window(callback) because the switch command "switches to the first available one". Then you can easily switch tab using client.switchTab.