Forum Discussion

smartekworks's avatar
smartekworks
Copper Contributor
Oct 22, 2021

Can not get new window handles in Edge IE Mode with Selenium

Hi, 

 

We're using Selenium to automate a web application in IE compatibility mode of Edge browsers, as the web app supports IE only as well as the end of support of IE.

 

The problem is when a window is popped up, and we call the driver.getWindowHandles, we can not the the handle of the new window.

 

The environment is as the following:

  • Windows 10 19043.1288 + Edge 94.0.992.50 + IE 11 19043.1288
  • Selenium Server 3.141.59
  • IEDriverServer_Win32_3.150.0

Kindly please advise, thanks a lot!

  • Thanks for submitting this, smartekworks. This is a known limitation with the way windows are created in IEMode currently. We are looking at different ways to fix this. What might end up happening is we will land changes in the SeleniumHQ project that will enable automating IEMode more naturally with IEDriverServer. We are in the process right now of building out a design.

    Keep the feedback coming!
    -John Jansen
    Engineering Manager, Edge

Resources