Issue: openTab() opens in the wrong browser window
Issue: openTab() opens in the wrong browser window: a task in LegoFlow-SWE (Harbor dataset). When a user opens an incognito window and then calls openTab() , the new tab appears in the default window instead of the active incognito window. This breaks the expected workflow of openBrowser() →…
The task
When a user opens an incognito window and then calls `openTab()`, the new tab appears in the default window instead of the active incognito window. This breaks the expected workflow of `openBrowser()` → `openIncognitoWindow()` → `openTab()`.
Part of Lego-X/LegoFlow-SWE.