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

Not reproducible Issue #5130431

Details

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

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps:

  1. Load up this URL via Edge WebDriver
    http://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_onbeforeunload

  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:

No

Attachments

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