Our automation script runs on Chrome browser. Click on a button in the application opens a new tab, but it opens in IE browser.
I use SwitchToWindowIndex() in the script and it doesn’t work. Glad anyone can help on this.
Thanks !
Our automation script runs on Chrome browser. Click on a button in the application opens a new tab, but it opens in IE browser.
I use SwitchToWindowIndex() in the script and it doesn’t work. Glad anyone can help on this.
Thanks !
Isn’t it that you need to select Chrome as your “default” browser?
How to change default browser on Windows 10
Alternatively, if you want to handle two different browsers, see this link: