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

SmartekWorks 1 Reputation point
2021-10-22T08:23:02.903+00:00

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

Here's a selenium issue reporting this for your reference.

Kindly please advise, thanks a lot!

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,575 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.