Add ability to load extensions to WebDriver-driven session

Issue #9303555 • Assigned to Mara P.


Oct 11, 2016
This issue is public.
Found in
  • Microsoft Edge
Found in build #
Reported by 5 people

Sign in to watch or report this issue.

Steps to reproduce

Both Firefox and Chrome WebDrivers start session without any extension, but support loading them via FirefoxProfile.addExtension() and ChromeOptions.addExtensions() calls.

Since Edge supports extensions in production, it should support similar WebDriver workflows.

Right now when Edge starts via WebDriver, extensions that are installed in current user profile are just shown in a flyout above ‘. . .’ asking for being enabled, but in an automated testing session there is no user to press the button to enable extension. And there is no API to turn them on or off programmatically.


Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “Brad E.”

    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 “Scott L.”

    Changed Status from “Confirmed” to “Fixed”

  • Thanks for filing this bug! This functionality has actually been enabled since the Anniversary Update, but we did not publicly announce it until recently. We posted our documentation last week, so you can get a full set of instructions as well as a code sample from the link here: Feel free to leave comments on the document if you have any questions!

  • Changed Status from “Fixed”

  • Sorry, that workflow wouldn’t fit in our case.

    We don’t develop extensions, but the client-side middleware for websites. And we should have an ability to automate testing of client integrations in the case if the end-user has some extensions installed. Particularly, ones that tamper and/or block scripts, like Ad Blockers, to find out how it’ll perform if our middleware were blocked.

    Therefore we don’t have access to extension source code, just an extension’s APPX at the best.

  • Microsoft Edge Team

    Changed Assigned To to “James M.”

    Changed Assigned To to “Mara P.”

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

Sign in