0

Context

I'm trying to create a selenium-standalone windows container so we can run e2e-tests on Microsoft Edge. To do this I need to install Microsoft Edge in the container. Afaik, Microsoft does not publish Edge in any form. They only pre-package Edge with Windows.

Unfortunately Edge isn't pre-packaged in any Windows Container. I verified this by adding: RUN powershell (Get-AppxPackage Microsoft.MicrosoftEdge).Version to my .Dockerfile which always came up empty regardless of the tag and image.

Specific question

What I would like to know is whether someone knows where I can find an installer for Edge that's atleast semi-official. I had no luck finding one so far neither online nor in any package-manager.

General question

If you can't answer the question above but do know a different method of installing Microsoft Edge in a Windows Container, please share.

Byebye
  • 934
  • 7
  • 24

2 Answers2

1

There actually is now a Docker Image with Edge and Edgedriver, the link is at the bottom of this page: https://learn.microsoft.com/en-us/microsoft-edge/webdriver-chromium/?tabs=c-sharp

https://hub.docker.com/_/microsoft-msedge-msedgedriver?tab=description

"This experimental docker container contains Microsoft Edge (Chromium) and Microsoft Edge Driver."

-1

As far as I know, there have Docker images for Chrome and Firefox, but not images for IE or Microsoft Edge. You could add a feedback from here.

At present, as a provisional workaround, you could try to use Chrome and Firefox to do the selenium test. Please check the README at https://github.com/SeleniumHQ/docker-selenium

I will also try to submit the feedback regarding this issue. If I get any solution or a work around than I will try to provide you in future. Thanks for your understanding.

Zhi Lv
  • 18,845
  • 1
  • 19
  • 30
  • Using Chrome or Firefox isn't a workaround. Chrome and Firefox are two completely different browsers with completely different engines. – Byebye Jan 01 '20 at 11:55
  • Since there is not images for IE or Microsoft Edge in Windows Container. If you still want to use Microsoft Edge to do the selenium test, you could try to create a Windows Virtual Machine to test it. – Zhi Lv Jan 01 '20 at 13:40
  • I know there isn't a Windowws Container image available for IE and Micrsoft Edge. I'm trying to create one myself. That's why I need to know where I can download Microsoft Edge. – Byebye Jan 01 '20 at 15:13