Forum Discussion
Chromium Edge automation with selenium (best practice)
- Jul 18, 2019
johnjansen actually it do not open with the edge:
i installed Edge dev Version 77.0.211.3, and Edge Canary Version 77.0.218.4 too. And I use the Version: 77.0.219.0 driver. My test open chrome, not edge. I tried with chromeoption, with System.setProperty, but still. Can you help me what I do wrong? Thanks!
mmiky123, I also wanted to let you know that we will have an MSEdgeDriver available very soon. It will have a download link and should also be in a chocolatey package. For the time being, you can point the ChromeDriver to the msedge.exe binary. One challenge there is that Selenium checks for the Browser version and will throw an error, so you ALSO have to modify the python script in Selenium. If you know how to do that, go for it. If not, you can wait just a little bit of time.
-John
- DaleRiechert2Apr 19, 2019Copper Contributor
johnjansen Thank you, I have been looking for the new webdriver for Chromium Edge as well. I have attempted pointing the latest ChromeDriver (74.0.3729.6) at Edge but it appears version checking is being performed by ChromeDriver itself ("unrecognized Chrome version: Edg/75.0.131.0"). Circumventing this would require compiling a new ChromeDriver from the Chrome repo, which at that point it makes more sense to just wait for your dedicated driver.
- BPascalApr 24, 2019Copper Contributor
DaleRiechert2& for those who are curious - it would require to patch this file [1], like done for the headless mode in [2].
Anyone has already a Chromium build infrastructure set up and can quickly compile such a binary until we have an official build (From my experience it might take a while to wait...)?
[1] https://chromium.googlesource.com/chromium/src/+/refs/heads/master/chrome/test/chromedriver/chrome/browser_info.cc
[2] https://chromium.googlesource.com/chromium/src/+/c75dbfd25cc376b92a494d340259056a01e1432e%5E%21/#F0
- johnjansenApr 24, 2019Iron Contributor
BPascal the official builds will be out today. As soon as we get the links cleaned up and merged, I'll post a link to the download page.
- mmiky123Apr 18, 2019Copper ContributorThank you for the update. I am really looking forward to it. That driver also will be very beneficial for every web dev or people who develop extensions for your browser as it has a stable foundation to work with.