Need to switch to the new window that is opened

My scenario is working just fine by logging into the web site, but the site opens a new window after the log in. Can I switch focus to the new window to continue to run the scenario?


After clicking the login button, a new window should typically open and be in focus. However, in your case, you mentioned that it opens in the background.

To bring another window into focus, you can use keyboard shortcuts. Try using Sendkey Alt Tab.

Let me know if my understanding is correct and if the solution works.