driver.quit does not throw UnhandledAlertException if alert appears after browser close

External Issue #15016846


Aleksandr Z.
Dec 8, 2017
This issue is public.
Found in
  • Microsoft Edge
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Java8, Selenium 3.7.1, EdgeDriver Release 16299, Edge 41.16299.15.0

Steps to reproduce:

  1. Navigate to any page that opens alert on closing window.
  2. Run driver.quit() method.

Actual result:
Alert that blocks page closing appears, driver.quit() hangs forever.

Expected result:
driver.quit() should throw org.openqa.selenium.UnhandledAlertException if closing window is blocked by alert


0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Steven K.”

      Changed Assigned To to “”

      Changed Status to “Confirmed”

      Changed Assigned To from “” to “Clay M.”

      Changed Status from “Confirmed”

      Changed Status to “External”

    • We plan to do this as a part of our unhandled prompt future feature work.

    • This issue has been resolved External. This means this issue may require a new feature to be implemented or other work that is more significant than a typical bug. You may be able to find more information on this issue by searching for related features on and

    You need to sign in to your Microsoft account to add a comment.

    Sign in