Forum Discussion
mmiky123
Apr 11, 2019Copper Contributor
Chromium Edge automation with selenium (best practice)
Hi Guys,
since ChromiumEdge is now available as a canary and a dev version I am also all to curious about how selenium will come into play as it is basically a chromium browser. What webdriver will people use? Is it the edge driver or the chrome driver or a completely new one?
Also how far off will be automating ChromiumEdge when it comes to coding best practises?
Hopefully this is a good start for a thought.
Greets,
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!
- PraveenRaj13Copper Contributor
Hi buddy
i have migrate IE 11 to edge chromium browser. i had install edge chromum browser now i facing issue on flash player error . than i install flash player also enable flash on my browser setting also but no luck so kindly give me a solution . i was tried lost one 3 day
system info
OS win 7
browser version 80 x
flash player version 33x
Error popup Message
"You must have a more recent version of Adobe® Flash® Player installed to view this site. "
please share your valuable solution
Thanks
Praveen raj
- johnjansen
Microsoft
PraveenRaj13 this should probably be a new thread. The current thread is about Selenium, and I don't want to muddy the conversation.
-John
- johnjansen
Microsoft
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
- DaleRiechert2
Microsoft
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.
- BPascalCopper 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...)?
[2] https://chromium.googlesource.com/chromium/src/+/c75dbfd25cc376b92a494d340259056a01e1432e%5E%21/#F0
- mmiky123Copper 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.
- Elliot Kirk
Microsoft
Hi mmiky123, thank you for taking the time to play around with the preview channels of the Microsoft Edge browser. We are looking into the automation story for our new browser, and will be talking about it when it is ready. In the meantime, I have captured your feedback and have given it to the right team.