question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[🐛 Bug]: Inconsistent IEDriverServer 4.0.0 instance shutdown (using Edge in IEMode + Selenium 4)

See original GitHub issue

What happened?

We have been facing an issue (which is inconsistent), the IEDriverServer instance managed by Selenium Grid not shutting down gracefully. Frequently the selenium node instance continue in loop for driver.quit() request, trying to keep sending DELETE request to IEDriverServer, and thru log we could see the IEDriverServer loops waiting for all browser instance to close, however the browser instance is already closed.

What we are using? Selenium 4.1.4 (for hub and node) Selenium Java Client 4.1.2 Internet Explorer - with capability to run on Edge in IE Mode

Hub started with below command line: java -jar “C:\TAAS_AUTOMATION\selenium-server-4.1.4.jar” hub

Node started with below command line: java -Dwebdriver.ie.driver.logfile=driver.log -Dwebdriver.ie.driver.loglevel=DEBUG -jar selenium-server-4.1.4.jar node --detect-drivers true --http-logs true --log-level FINE --log session.log

How can we reproduce the issue?

**What we are using?**
Selenium 4.1.4 (for hub and node)
Selenium Java Client 4.1.2
Internet Explorer - with capability to run on Edge in IE Mode

**Hub started with below command line:**
java -jar "C:\TAAS_AUTOMATION\selenium-server-4.1.4.jar" hub

**Node started with below command line:**
java -Dwebdriver.ie.driver.logfile=driver.log -Dwebdriver.ie.driver.loglevel=DEBUG -jar selenium-server-4.1.4.jar node --detect-drivers true --http-logs true --log-level FINE --log session.log

Relevant log output

T 2022-05-02 12:05:12:818 C:\Projects\selenium\cpp\webdriver-server\server.cc(479) Entering Server::SendResponseToClient
T 2022-05-02 12:05:12:818 C:\Projects\selenium\cpp\webdriver-server\response.cc(30) Entering Response::Deserialize
T 2022-05-02 12:05:12:818 C:\Projects\selenium\cpp\webdriver-server\server.cc(540) Entering Server::SendHttpOk
T 2022-05-02 12:05:13:056 C:\Projects\selenium\cpp\webdriver-server\server.cc(234) Entering Server::ProcessRequest
T 2022-05-02 12:05:13:056 C:\Projects\selenium\cpp\webdriver-server\server.cc(243) Process request with: URI: /session/4e4c2094-0f96-4fa1-a77c-9d2a029ddcdd HTTP verb: DELETE
body: {}
T 2022-05-02 12:05:13:056 C:\Projects\selenium\cpp\webdriver-server\server.cc(334) Entering Server::DispatchCommand
T 2022-05-02 12:05:13:056 C:\Projects\selenium\cpp\webdriver-server\server.cc(687) Entering Server::LookupCommand
D 2022-05-02 12:05:13:056 C:\Projects\selenium\cpp\webdriver-server\server.cc(343) Command: DELETE /session/4e4c2094-0f96-4fa1-a77c-9d2a029ddcdd {}
T 2022-05-02 12:05:13:056 C:\Projects\selenium\cpp\webdriver-server\server.cc(466) Entering Server::LookupSession
T 2022-05-02 12:05:13:056 C:\Projects\selenium\cpp\iedriver\IESession.cpp(198) Entering IESession::ExecuteCommand
T 2022-05-02 12:05:13:056 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(156) Entering IECommandExecutor::OnSetCommand
T 2022-05-02 12:05:13:057 C:\Projects\selenium\cpp\webdriver-server\command.cc(31) Entering Command::Deserialize
D 2022-05-02 12:05:13:057 C:\Projects\selenium\cpp\webdriver-server\command.cc(36) Raw JSON command: { "name" : "quit", "locator" : { "sessionid" : "4e4c2094-0f96-4fa1-a77c-9d2a029ddcdd" }, "parameters" : {} }
T 2022-05-02 12:05:13:057 C:\Projects\selenium\cpp\webdriver-server\command.cc(31) Entering Command::Deserialize
D 2022-05-02 12:05:13:057 C:\Projects\selenium\cpp\webdriver-server\command.cc(36) Raw JSON command: { "name" : "quit", "locator" : { "sessionid" : "4e4c2094-0f96-4fa1-a77c-9d2a029ddcdd" }, "parameters" : {} }
T 2022-05-02 12:05:13:057 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(178) Entering IECommandExecutor::OnExecCommand
T 2022-05-02 12:05:13:057 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(974) Entering IECommandExecutor::DispatchCommand
T 2022-05-02 12:05:13:057 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1295) Entering IECommandExecutor::GetCurrentBrowser
T 2022-05-02 12:05:13:057 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1301) Entering IECommandExecutor::GetManagedBrowser
D 2022-05-02 12:05:13:057 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(992) Checking for alert before executing quit command
T 2022-05-02 12:05:13:057 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1190) Entering IECommandExecutor::IsAlertActive
T 2022-05-02 12:05:13:057 C:\Projects\selenium\cpp\iedriver\Browser.cpp(868) Entering Browser::GetActiveDialogWindowHandle
T 2022-05-02 12:05:13:057 C:\Projects\selenium\cpp\iedriver\Browser.cpp(315) Entering Browser::GetContentWindowHandle
D 2022-05-02 12:05:13:057 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1207) No alert handle is found
D 2022-05-02 12:05:13:057 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1039) Executing command: quit
T 2022-05-02 12:05:13:057 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1325) Entering IECommandExecutor::GetManagedBrowserHandles
T 2022-05-02 12:05:13:057 C:\Projects\selenium\cpp\iedriver\Browser.cpp(571) Entering Browser::IsValidWindow
T 2022-05-02 12:05:13:057 C:\Projects\selenium\cpp\iedriver\Browser.cpp(868) Entering Browser::GetActiveDialogWindowHandle
T 2022-05-02 12:05:13:058 C:\Projects\selenium\cpp\iedriver\Browser.cpp(315) Entering Browser::GetContentWindowHandle
T 2022-05-02 12:05:13:058 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1301) Entering IECommandExecutor::GetManagedBrowser
T 2022-05-02 12:05:13:058 C:\Projects\selenium\cpp\iedriver\Browser.cpp(428) Entering Browser::Close
T 2022-05-02 12:05:13:058 C:\Projects\selenium\cpp\iedriver\Browser.cpp(559) Entering Browser::GetTopLevelWindowHandle
T 2022-05-02 12:05:13:058 C:\Projects\selenium\cpp\iedriver\IESession.cpp(226) Beginning wait for response length to be not zero
T 2022-05-02 12:05:13:058 C:\Projects\selenium\cpp\iedriver\DocumentHost.cpp(149) Entering DocumentHost::SetFocusedFrameByElement
T 2022-05-02 12:05:13:059 C:\Projects\selenium\cpp\webdriver-server\response.cc(81) Entering Response::SetSuccessResponse
T 2022-05-02 12:05:13:059 C:\Projects\selenium\cpp\webdriver-server\response.cc(87) Entering Response::SetResponse
D 2022-05-02 12:05:13:059 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1042) Command execution for quit complete
T 2022-05-02 12:05:13:059 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1295) Entering IECommandExecutor::GetCurrentBrowser
T 2022-05-02 12:05:13:059 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1301) Entering IECommandExecutor::GetManagedBrowser
T 2022-05-02 12:05:13:059 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1304) Current command executor is not valid
T 2022-05-02 12:05:13:121 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(463) Entering IECommandExecutor::OnAllBrowserCloseWait
T 2022-05-02 12:05:13:121 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(465) Still have 1 browsers
T 2022-05-02 12:05:13:121 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(468) Still awaiting close of browser with ID a514800a-286b-490d-81e8-1474cdaba229
T 2022-05-02 12:05:13:121 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1190) Entering IECommandExecutor::IsAlertActive
T 2022-05-02 12:05:13:121 C:\Projects\selenium\cpp\iedriver\Browser.cpp(868) Entering Browser::GetActiveDialogWindowHandle
T 2022-05-02 12:05:13:122 C:\Projects\selenium\cpp\iedriver\Browser.cpp(315) Entering Browser::GetContentWindowHandle
D 2022-05-02 12:05:13:122 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1207) No alert handle is found
T 2022-05-02 12:05:13:194 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(463) Entering IECommandExecutor::OnAllBrowserCloseWait
T 2022-05-02 12:05:13:194 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(465) Still have 1 browsers
T 2022-05-02 12:05:13:194 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(468) Still awaiting close of browser with ID a514800a-286b-490d-81e8-1474cdaba229
T 2022-05-02 12:05:13:194 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1190) Entering IECommandExecutor::IsAlertActive
T 2022-05-02 12:05:13:194 C:\Projects\selenium\cpp\iedriver\Browser.cpp(868) Entering Browser::GetActiveDialogWindowHandle
T 2022-05-02 12:05:13:194 C:\Projects\selenium\cpp\iedriver\Browser.cpp(315) Entering Browser::GetContentWindowHandle
D 2022-05-02 12:05:13:195 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1207) No alert handle is found
T 2022-05-02 12:05:13:258 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(463) Entering IECommandExecutor::OnAllBrowserCloseWait
T 2022-05-02 12:05:13:258 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(465) Still have 1 browsers
T 2022-05-02 12:05:13:258 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(468) Still awaiting close of browser with ID a514800a-286b-490d-81e8-1474cdaba229
T 2022-05-02 12:05:13:258 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1190) Entering IECommandExecutor::IsAlertActive
T 2022-05-02 12:05:13:258 C:\Projects\selenium\cpp\iedriver\Browser.cpp(868) Entering Browser::GetActiveDialogWindowHandle
T 2022-05-02 12:05:13:258 C:\Projects\selenium\cpp\iedriver\Browser.cpp(315) Entering Browser::GetContentWindowHandle
D 2022-05-02 12:05:13:258 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1207) No alert handle is found

T 2022-05-02 12:05:13:319 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(463) Entering IECommandExecutor::OnAllBrowserCloseWait
T 2022-05-02 12:05:13:319 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(465) Still have 1 browsers
T 2022-05-02 12:05:13:319 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(468) Still awaiting close of browser with ID a514800a-286b-490d-81e8-1474cdaba229
T 2022-05-02 12:05:13:319 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1190) Entering IECommandExecutor::IsAlertActive
T 2022-05-02 12:05:13:319 C:\Projects\selenium\cpp\iedriver\Browser.cpp(868) Entering Browser::GetActiveDialogWindowHandle
T 2022-05-02 12:05:13:319 C:\Projects\selenium\cpp\iedriver\Browser.cpp(315) Entering Browser::GetContentWindowHandle
D 2022-05-02 12:05:13:319 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1207) No alert handle is found
T 2022-05-02 12:05:13:371 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(463) Entering IECommandExecutor::OnAllBrowserCloseWait
T 2022-05-02 12:05:13:372 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(465) Still have 1 browsers
T 2022-05-02 12:05:13:372 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(468) Still awaiting close of browser with ID a514800a-286b-490d-81e8-1474cdaba229
T 2022-05-02 12:05:13:372 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1190) Entering IECommandExecutor::IsAlertActive
T 2022-05-02 12:05:13:372 C:\Projects\selenium\cpp\iedriver\Browser.cpp(868) Entering Browser::GetActiveDialogWindowHandle
T 2022-05-02 12:05:13:372 C:\Projects\selenium\cpp\iedriver\Browser.cpp(315) Entering Browser::GetContentWindowHandle
D 2022-05-02 12:05:13:372 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1207) No alert handle is found
T 2022-05-02 12:05:13:443 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(463) Entering IECommandExecutor::OnAllBrowserCloseWait
T 2022-05-02 12:05:13:443 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(465) Still have 1 browsers
T 2022-05-02 12:05:13:443 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(468) Still awaiting close of browser with ID a514800a-286b-490d-81e8-1474cdaba229
T 2022-05-02 12:05:13:443 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1190) Entering IECommandExecutor::IsAlertActive
T 2022-05-02 12:05:13:443 C:\Projects\selenium\cpp\iedriver\Browser.cpp(868) Entering Browser::GetActiveDialogWindowHandle
T 2022-05-02 12:05:13:443 C:\Projects\selenium\cpp\iedriver\Browser.cpp(315) Entering Browser::GetContentWindowHandle
D 2022-05-02 12:05:13:443 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1207) No alert handle is found
T 2022-05-02 12:05:13:505 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(463) Entering IECommandExecutor::OnAllBrowserCloseWait
T 2022-05-02 12:05:13:505 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(465) Still have 1 browsers
T 2022-05-02 12:05:13:505 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(468) Still awaiting close of browser with ID a514800a-286b-490d-81e8-1474cdaba229
T 2022-05-02 12:05:13:505 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1190) Entering IECommandExecutor::IsAlertActive
T 2022-05-02 12:05:13:505 C:\Projects\selenium\cpp\iedriver\Browser.cpp(868) Entering Browser::GetActiveDialogWindowHandle
T 2022-05-02 12:05:13:505 C:\Projects\selenium\cpp\iedriver\Browser.cpp(315) Entering Browser::GetContentWindowHandle
D 2022-05-02 12:05:13:506 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1207) No alert handle is found
T 2022-05-02 12:05:13:568 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(463) Entering IECommandExecutor::OnAllBrowserCloseWait
T 2022-05-02 12:05:13:568 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(465) Still have 1 browsers
T 2022-05-02 12:05:13:568 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(468) Still awaiting close of browser with ID a514800a-286b-490d-81e8-1474cdaba229
T 2022-05-02 12:05:13:568 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1190) Entering IECommandExecutor::IsAlertActive
T 2022-05-02 12:05:13:568 C:\Projects\selenium\cpp\iedriver\Browser.cpp(868) Entering Browser::GetActiveDialogWindowHandle
T 2022-05-02 12:05:13:568 C:\Projects\selenium\cpp\iedriver\Browser.cpp(315) Entering Browser::GetContentWindowHandle
D 2022-05-02 12:05:13:568 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1207) No alert handle is found
T 2022-05-02 12:05:13:639 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(463) Entering IECommandExecutor::OnAllBrowserCloseWait
T 2022-05-02 12:05:13:639 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(465) Still have 1 browsers
T 2022-05-02 12:05:13:639 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(468) Still awaiting close of browser with ID a514800a-286b-490d-81e8-1474cdaba229
T 2022-05-02 12:05:13:639 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1190) Entering IECommandExecutor::IsAlertActive
T 2022-05-02 12:05:13:639 C:\Projects\selenium\cpp\iedriver\Browser.cpp(868) Entering Browser::GetActiveDialogWindowHandle
T 2022-05-02 12:05:13:639 C:\Projects\selenium\cpp\iedriver\Browser.cpp(315) Entering Browser::GetContentWindowHandle
D 2022-05-02 12:05:13:639 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1207) No alert handle is found
T 2022-05-02 12:05:13:697 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(463) Entering IECommandExecutor::OnAllBrowserCloseWait
T 2022-05-02 12:05:13:697 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(465) Still have 1 browsers
T 2022-05-02 12:05:13:697 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(468) Still awaiting close of browser with ID a514800a-286b-490d-81e8-1474cdaba229
T 2022-05-02 12:05:13:697 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1190) Entering IECommandExecutor::IsAlertActive
T 2022-05-02 12:05:13:697 C:\Projects\selenium\cpp\iedriver\Browser.cpp(868) Entering Browser::GetActiveDialogWindowHandle
T 2022-05-02 12:05:13:697 C:\Projects\selenium\cpp\iedriver\Browser.cpp(315) Entering Browser::GetContentWindowHandle
D 2022-05-02 12:05:13:697 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1207) No alert handle is found
T 2022-05-02 12:05:13:755 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(463) Entering IECommandExecutor::OnAllBrowserCloseWait
T 2022-05-02 12:05:13:755 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(465) Still have 1 browsers
T 2022-05-02 12:05:13:755 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(468) Still awaiting close of browser with ID a514800a-286b-490d-81e8-1474cdaba229
T 2022-05-02 12:05:13:755 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1190) Entering IECommandExecutor::IsAlertActive
T 2022-05-02 12:05:13:755 C:\Projects\selenium\cpp\iedriver\Browser.cpp(868) Entering Browser::GetActiveDialogWindowHandle
T 2022-05-02 12:05:13:755 C:\Projects\selenium\cpp\iedriver\Browser.cpp(315) Entering Browser::GetContentWindowHandle
D 2022-05-02 12:05:13:755 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1207) No alert handle is found
T 2022-05-02 12:05:13:818 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(463) Entering IECommandExecutor::OnAllBrowserCloseWait
T 2022-05-02 12:05:13:818 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(465) Still have 1 browsers
T 2022-05-02 12:05:13:818 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(468) Still awaiting close of browser with ID a514800a-286b-490d-81e8-1474cdaba229
T 2022-05-02 12:05:13:818 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1190) Entering IECommandExecutor::IsAlertActive
T 2022-05-02 12:05:13:818 C:\Projects\selenium\cpp\iedriver\Browser.cpp(868) Entering Browser::GetActiveDialogWindowHandle
T 2022-05-02 12:05:13:818 C:\Projects\selenium\cpp\iedriver\Browser.cpp(315) Entering Browser::GetContentWindowHandle
D 2022-05-02 12:05:13:818 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1207) No alert handle is found
T 2022-05-02 12:05:13:884 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(463) Entering IECommandExecutor::OnAllBrowserCloseWait
T 2022-05-02 12:05:13:884 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(465) Still have 1 browsers
T 2022-05-02 12:05:13:884 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(468) Still awaiting close of browser with ID a514800a-286b-490d-81e8-1474cdaba229
T 2022-05-02 12:05:13:884 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1190) Entering IECommandExecutor::IsAlertActive
T 2022-05-02 12:05:13:884 C:\Projects\selenium\cpp\iedriver\Browser.cpp(868) Entering Browser::GetActiveDialogWindowHandle
T 2022-05-02 12:05:13:884 C:\Projects\selenium\cpp\iedriver\Browser.cpp(315) Entering Browser::GetContentWindowHandle
D 2022-05-02 12:05:13:884 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1207) No alert handle is found
T 2022-05-02 12:05:13:943 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(463) Entering IECommandExecutor::OnAllBrowserCloseWait
T 2022-05-02 12:05:13:943 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(465) Still have 1 browsers
T 2022-05-02 12:05:13:943 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(468) Still awaiting close of browser with ID a514800a-286b-490d-81e8-1474cdaba229
T 2022-05-02 12:05:13:943 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1190) Entering IECommandExecutor::IsAlertActive
T 2022-05-02 12:05:13:943 C:\Projects\selenium\cpp\iedriver\Browser.cpp(868) Entering Browser::GetActiveDialogWindowHandle
T 2022-05-02 12:05:13:943 C:\Projects\selenium\cpp\iedriver\Browser.cpp(315) Entering Browser::GetContentWindowHandle
D 2022-05-02 12:05:13:943 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1207) No alert handle is found
T 2022-05-02 12:05:14:008 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(463) Entering IECommandExecutor::OnAllBrowserCloseWait
T 2022-05-02 12:05:14:008 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(465) Still have 1 browsers
T 2022-05-02 12:05:14:008 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(468) Still awaiting close of browser with ID a514800a-286b-490d-81e8-1474cdaba229
T 2022-05-02 12:05:14:008 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1190) Entering IECommandExecutor::IsAlertActive
T 2022-05-02 12:05:14:008 C:\Projects\selenium\cpp\iedriver\Browser.cpp(868) Entering Browser::GetActiveDialogWindowHandle
T 2022-05-02 12:05:14:008 C:\Projects\selenium\cpp\iedriver\Browser.cpp(315) Entering Browser::GetContentWindowHandle
D 2022-05-02 12:05:14:008 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1207) No alert handle is found
T 2022-05-02 12:05:14:067 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(463) Entering IECommandExecutor::OnAllBrowserCloseWait
T 2022-05-02 12:05:14:068 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(465) Still have 1 browsers
T 2022-05-02 12:05:14:068 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(468) Still awaiting close of browser with ID a514800a-286b-490d-81e8-1474cdaba229
T 2022-05-02 12:05:14:068 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1190) Entering IECommandExecutor::IsAlertActive
T 2022-05-02 12:05:14:068 C:\Projects\selenium\cpp\iedriver\Browser.cpp(868) Entering Browser::GetActiveDialogWindowHandle
T 2022-05-02 12:05:14:068 C:\Projects\selenium\cpp\iedriver\Browser.cpp(315) Entering Browser::GetContentWindowHandle
D 2022-05-02 12:05:14:068 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1207) No alert handle is found
T 2022-05-02 12:05:14:131 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(463) Entering IECommandExecutor::OnAllBrowserCloseWait
T 2022-05-02 12:05:14:131 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(465) Still have 1 browsers
T 2022-05-02 12:05:14:131 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(468) Still awaiting close of browser with ID a514800a-286b-490d-81e8-1474cdaba229
T 2022-05-02 12:05:14:132 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1190) Entering IECommandExecutor::IsAlertActive
T 2022-05-02 12:05:14:132 C:\Projects\selenium\cpp\iedriver\Browser.cpp(868) Entering Browser::GetActiveDialogWindowHandle
T 2022-05-02 12:05:14:132 C:\Projects\selenium\cpp\iedriver\Browser.cpp(315) Entering Browser::GetContentWindowHandle
D 2022-05-02 12:05:14:132 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1207) No alert handle is found
T 2022-05-02 12:05:14:194 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(463) Entering IECommandExecutor::OnAllBrowserCloseWait
T 2022-05-02 12:05:14:194 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(465) Still have 1 browsers
T 2022-05-02 12:05:14:194 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(468) Still awaiting close of browser with ID a514800a-286b-490d-81e8-1474cdaba229
T 2022-05-02 12:05:14:194 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1190) Entering IECommandExecutor::IsAlertActive
T 2022-05-02 12:05:14:194 C:\Projects\selenium\cpp\iedriver\Browser.cpp(868) Entering Browser::GetActiveDialogWindowHandle
T 2022-05-02 12:05:14:194 C:\Projects\selenium\cpp\iedriver\Browser.cpp(315) Entering Browser::GetContentWindowHandle
D 2022-05-02 12:05:14:194 C:\Projects\selenium\cpp\iedriver\IECommandExecutor.cpp(1207) No alert handle is found

Operating System

Windows 10

Selenium version

Selenium Java 4.1.2

What are the browser(s) and version(s) where you see this issue?

Edge in IEMode

What are the browser driver(s) and version(s) where you see this issue?

InternetExplorer Driver 4.0.0

Are you using Selenium Grid?

Yes - 4.1.4

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:24 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
romovscommented, Nov 4, 2022

Seems like #11079 has fixed the problem. We are not experiencing the issue anymore after upgrade to v4.6.

1reaction
diemolcommented, Jun 1, 2022

No updates, if something new comes up, we will comment here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Internet Explorer (IE) mode troubleshooting and FAQ
Use this section as a guide to help you troubleshoot and fix the two most common issues when moving to Microsoft Edge with...
Read more >
IEDriver changelog - GitHub
(on behalf of Gavin Xu) Fixed use of NewWindow3 API for use with Microsoft Edge in IE Mode. * Made further improvements for...
Read more >
internet explorer - IE driver 4.0.0 stuck at This is the initial start ...
It looks like you are using selenium webdriver to automate Edge IE mode. I tried executing your code and I found this code...
Read more >
Selenium.WebDriver.IEDriver 4.7.0 - NuGet
Install IE Driver(x86) for Selenium WebDriver into your Unit Test Project. "IEDriverServer.exe" is copied to bin folder from package folder when the build ......
Read more >
Enabling IE Mode for Microsoft Edge
From within the open Edge browser, actively click with your mouse cursor within its browser window to make that object active.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found