I'm currently attempting to choose a recently opened window while utilizing Selenium, and the select_window()
method necessitates its WindowID.
Although I have explored using the window's title as recommended by other sources, and enabled Selenium's debug mode per the documentation to spot a window.open intercept, neither approach has proven successful.
Is there a straightforward JavaScript command that can be inputted into the new window's console in order to identify the window ID?