2

I am using selenium webdriver c# automation. And i have to run automation on windows 10 machine for "Microsoft Edge" browser. Please let me know how to launch "Microsoft Edge" in widnows 10 using c# selenium webdriver.

I have used below code to launch but its launching IE 11.

simond
  • 684
  • 1
  • 10
  • 36

1 Answers1

2
  1. Do you have the Microsoft Webdriver? This is used for the new Edge Browser

  2. Is your Selenium Webdriver version 2.47 ? Selenium adds Edge support with 2.47

  3. And try

    IWebdriver driver = new EdgeDriver(serverPath, options);
    

    For more Information and Examples

LzyPanda
  • 723
  • 6
  • 11