Edge webdriver shutdown won't complete with a window.onbeforeunload popup

Not reproducible Issue #5130431


Oct 22, 2015
This issue is public.
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce


Repro Steps:

  1. Load up this URL via Edge WebDriver

  2. using the /Shutdown command attempt to shut it down

  3. Notice the popup is displayed and never closes.

Expected Results:

I expect the browser to close when told to from webdriver even if there is a window.onbeforeunload message displayed.

Actual Results:

Dev Channel specific:



0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Kamen M.”

      Changed Assigned To to “Mara P.”

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

      Changed Status to “Confirmed”

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

      Changed Status from “Confirmed” to “Not reproducible”

    • Hello,

      Thank you for providing this information about the issue. After thorough testing, we are unable to reproduce this problem in Edge. The /shutdown command works as expected in this scenario by shutting down the server. It is not meant to shutdown Edge.

      Best Wishes,
      The MS Edge Team

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

    Sign in