Skip to content

Edge Settings

knysh edited this page May 26, 2020 · 2 revisions

Microsoft Edge versions 18 and 19 requirements to start and use browser via selenium webdriver:


  1. Go to Settings > Update and Security > For Developer and then select “Developer mode”.

For Microsoft Edge builds prior to 18, install a previous release of WebDriver:

  1. Download webdriver from Microsoft Edge Legacy
  2. You need to override Browser property in BrowserFactory and create browser like it is done below:
var browserProfile = AqualityServices.Get<IBrowserProfile>();
var commandTimeout = AqualityServices.Get<ITimeoutConfiguration>().Command;
var driverSettings = browserProfile.DriverSettings;
RemoteWebDriver driver = new EdgeDriver("{path to folder, where you download MicrosoftWebDriver.exe}",
                        (EdgeOptions)driverSettings.DriverOptions, commandTimeout);
new Browser(driver);