Let me start by saying that this is my first post to stackoverflow, so please tell me when I did something wrong.
I did a project where I open a firefox, create multiple tabs and then go to different websites in each of them, startin from left to right. At the moment, every time the work in one tab is done, it switches to the next one and starts working there. However, what my customer wants the browser to do is that it stays on the first tab opened, so that he can look at the results displayed, while selenium continues to work in the other tabs in the background.
I open the new tabs with
ArrayList<String> tabs = new ArrayList<String>(driver.getWindowHandles());
driver.switchTo().window(tabs.get((tabPosition)));
To be honest, I don't even know if this is possible at all. Any help is appreciated.
The clear answer is NO
Selenium required focus to correspondent window/tab/frame to work on and interact with the element of that page.