Selenium - c# - Edge

713 views
Skip to first unread message

Nortier David

unread,
Oct 5, 2020, 8:51:43 AM10/5/20
to seleniu...@googlegroups.com

Hello eveybody,

 

I’ve some tests running in c# and Selenium : no problem for Chrome, IE and Firefox

 

I want to do the same thing with Edge, but that doesn’t work.

 

I download driver from https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/

    1. Why, for latest versions, the exe is msedgedriver.exe, and for the oldest it’s MicrosoftWebDriver.exe
    2. Which one is the good ?
    3. On the PC, the version of Microsoft Edge is Version 85.0.564.68 (Version officielle) (64 bits) : then, I need msedgedriver, just ?
    4. But I’ve got the error :

OpenQA.Selenium.DriverServiceNotFoundException : The MicrosoftWebDriver.exe file does not exist in the current directory or in a directory on the PATH environment variable.

                                                                                                                                                    ???

msedgedriver is in \bin\* directory

 

Nuggets installed :

·        Microsoft.Edge.SeleniumTools 3.141.2

·        Selenium.WebDriver.ChromeDriver 85.0.4183.8700

·        Selenium.WebDriver 3.141.0

 

 

Help is welcome 😊

 

Thanks

 

 

David


====== DISCLAIMER ======

http://www.cph.be/maildisclaimer

Nortier David

unread,
Oct 6, 2020, 5:03:31 AM10/6/20
to seleniu...@googlegroups.com

Hello

 

The problem is resolved.

 

The code was :

driver = new EdgeDriver() ;

 

But in fact

               driver = new OpenQA.Selenium.Edge.EdgeDriver() ;

 

And it has to be

               Driver = new Microsoft.Edge.SeleniumTools. EdgeDriver()

 

 

Hope it helps 😊

 

 

De : Nortier David
Envoyé : lundi 5 octobre 2020 14:51
À : Selenium Users <seleniu...@googlegroups.com>
Objet : Selenium - c# - Edge

salahuddin owais

unread,
Oct 6, 2020, 1:46:22 PM10/6/20
to seleniu...@googlegroups.com
Hey stop spamming my email 

MATE!?!?!?!?!?

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/2dd972053be64412a88e51fa54a252b0%40cph.be.

ddlionx

unread,
Oct 6, 2020, 4:24:08 PM10/6/20
to seleniu...@googlegroups.com
He's not spamming your email, you're subscribed to a user group you keep getting emails from.

Prasanna Mahale

unread,
Oct 8, 2020, 1:37:20 AM10/8/20
to seleniu...@googlegroups.com
If you find the solution for below assignment please share me

--
Automation Assignments -QA.pdf.pdf
Reply all
Reply to author
Forward
0 new messages