Install-Package Selenium.WebDriver.IEDriver -Version
dotnet add package Selenium.WebDriver.IEDriver --version
<PackageReference Include="Selenium.WebDriver.IEDriver" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Selenium.WebDriver.IEDriver --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Selenium.WebDriver.IEDriver,"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Selenium.WebDriver.IEDriver as a Cake Addin
#addin nuget:?package=Selenium.WebDriver.IEDriver&version=

// Install Selenium.WebDriver.IEDriver as a Cake Tool
#tool nuget:?package=Selenium.WebDriver.IEDriver&version=
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

NuGet package - Selenium WebDriver IEDriver

NuGet Package

What's this?

This NuGet package installs IE Driver(x86) for Selenium WebDriver into your Unit Test Project.

"IEDriverServer.exe" does not appear in Solution Explorer, but it is copied to the bin folder from the package folder during the build process.

This package is ready for NuGet package restoring, and no need to commit the "IEDriverServer.exe" binary into the source code control repository.

How to install?

For example, enter the following command at the package manager console on Visual Studio.

PM> Install-Package Selenium.WebDriver.IEDriver -Version 4.0.0

Required Configuration

Before automation Internet Explorer (or IE mode in Microsoft Edge), you must set up some configurations as below:

  • You must set the "Protected Mode" settings for each zone to be the same value.
  • You also need to set "Change the size of text, apps, and other items" to 100% in display settings.

Please see also: 🌎"Required Configuration - IE Driver Server | Selenium"


The "Enable Protected Mode" check box no longer exists in the "Internet Properties" dialog of the control panel on Windows 11 or later because Internet Explorer as a standalone application is no longer supported on Windows 11.

To configure the "Protected Mode" settings for each zone on Windows 11, I recommend using "Local Group Policy Editor" with the following steps instead of using the "Internet Properties" dialog.

  1. Open the "Edit group policy" menu item from the Start menu.
  2. Then, the "Local Group Policy Editor" window will be opened.
  3. Expand the left tree from the root node "Local Computer Policy" to "Computer Configuration" > "Administrative Templates" > "Windows Components" > "Internet Explorer" > "Internet Control Panel" > "Security Page".
  4. You will see some sub-nodes that node name ends with "...Zone", and you should be able to see the "Turn on Protected Mode" setting item In each sub-node.
  5. Double click the "Turn on Protected Mode" setting item and select "Enable" or "Disable," which you want, and click the "OK" button to apply and close it.
  6. Do that for all of the "...Zone" sub-nodes.

Local Group Policy Editor

How to automate IE mode in Microsoft Edge?

To automate IE mode in Microsoft Edge (not Internet Explorer as a standalone application), you should have to configure the options for IE Driver like below:

using OpenQA.Selenium;
using OpenQA.Selenium.IE;

var ieOptions = new InternetExplorerOptions
    // These 3 lines are needed to use Microsoft Edge IE mode.
    AttachToEdgeChrome = true,
    EdgeExecutablePath = "C:/Program Files (x86)/Microsoft/Edge/Application/msedge.exe",
    IgnoreZoomLevel = true,

using var driver = new InternetExplorerDriver(ieOptions);

Please see also: 🌎"Use Internet Explorer Driver to automate IE mode in Microsoft Edge | Microsoft Docs"

How to include the driver file into published files?

"IEDriverServer.exe" isn't included in published files on the default configuration. This behavior is by design.

If you want to include "IEDriverServer.exe" into published files, please define the _PUBLISH_IEDRIVER compilation symbol.

define _PUBLISH_IEDRIVER compilation symbol

Another way, you can define PublishIEDriver property with value is "true" in the MSBuild file (.csproj, .vbproj, etc...) to publish the driver file instead of defining compilation symbol.

  <Project ...>

You can also define the PublishIEDriver property from the command line -p option for the dotnet publish command.

> dotnet publish -p:PublishChromeDriver=true


PublishIEDriver MSBuild property always overrides the condition of defining the_PUBLISH_IEDRIVER compilation symbol or not. If you define PublishIEDriver MSBuild property with false, then the driver file isn't included in publish files whenever define _PUBLISH_IEDRIVER compilation symbol or not.


Where is IEDriverServer.exe saved to?

IEDriverServer.exe exists at
" {solution folder} /packages/Selenium.WebDriver.IEDriver. {ver} /driver"

 {Solution folder}/
  +-- packages/
  |   +-- Selenium.WebDriver.IEDriver.{version}/
  |       +-- driver/
  |       |   +-- IEDriverServer.exe
  |       +-- build/
  +-- {project folder}/
      +-- bin/
          +-- Debug/
          |   +-- IEDriverServer.exe (copy from above by build process)
          +-- Release/
              +-- IEDriverServer.exe (copy from above by build process)

And package installer configures msbuild tasks such as .csproj to copy IEDriverServer.exe into the output folder during the build process.


The build script (.targets file) in this NuGet package is licensed under The Unlicense.

The binary file of the IE Driver is licensed under the Apache License, Version 2.0.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (48)

Showing the top 5 NuGet packages that depend on Selenium.WebDriver.IEDriver:

Package Downloads

**** Please use it just for PageModel **** A framework for declarative UI testing for ASP.NET apps. Browsers: Chrome (>=100) Firefox (>=70) IE (>=11) Dependencies: MSharp Project: MSharp.Framework (>= 4.0.110) Olive Project: Olive.Testing (>= 2.1.113)


MzAutomation Test Framework. Documentation coming soon..


SpecsFor.Mvc is a stand-alone acceptance testing framework for ASP.NET MVC. It enables you to write strongly-typed, refactor friendly integration tests using the browser and testing framework of your choice.


[DEPRECATED] Use Install-Package Ocaramba.Features Install-Package Ocaramba.MsTest Install-Package Ocaramba.NUnit Install-Package Ocaramba.xUnit instead


Selenium Framework

GitHub repositories (8)

Showing the top 5 popular GitHub repositories that depend on Selenium.WebDriver.IEDriver:

Repository Stars
Bonobo Git Server for Windows is a web application you can install on your IIS and easily manage and connect to your git repositories. Go to homepage for release and more info.
Automate The Planet Series Source Code
Intuitive, robust browser automation for .Net
Pleasanter | Business application platform
Effortless Microservice Design and Integration. This repository includes the code-base for the Warewolf Studio and Server.
Version Downloads Last updated 32,703 3/22/2022
4.0.0 107,702 11/26/2021 1,103,309 7/15/2020 654 7/12/2020 32,026 6/28/2020 1,350 5/25/2020
3.150.1 1,124,376 10/18/2019
3.150.0 271,666 8/23/2019
3.141.59 435,161 4/11/2019
3.141.5 528,118 1/15/2019
3.141.0 371,999 11/1/2018
3.14.0 456,747 8/3/2018
3.13.0 182,175 6/26/2018
3.12.0 208,462 5/9/2018
3.11.1 315,264 3/14/2018
3.11.0 23,114 3/12/2018
3.10.0 48,631 3/3/2018
3.9.0 105,265 2/6/2018
3.8.0 247,215 12/2/2017
3.7.0 265,635 11/4/2017
3.6.0 129,819 9/26/2017
3.5.1 90,163 8/18/2017
3.5.0 20,619 8/11/2017
3.4.0 465,790 4/22/2017
3.3.0 120,150 3/8/2017
3.2.0 35,758 2/24/2017
3.1.0 35,695 2/17/2017 146,245 11/15/2016 2,879 10/30/2016
3.0.0 55,440 10/14/2016 96,980 8/10/2016
2.53.1 15,501 8/10/2016 6,319 5/5/2016
2.53.0 153,554 3/18/2016
2.52.2 3,447 3/15/2016
2.49.0 30,062 1/26/2016
2.48.0 54,026 10/8/2015
2.47.0 26,029 8/12/2015
2.46.0 11,704 6/25/2015 5,952 6/3/2015 1,401 3/6/2015 16,888 3/3/2015
2.45.0 3,128 3/3/2015
2.44.0 51,238 10/30/2014
2.43.0 8,465 9/20/2014 1,023 8/14/2014 842 8/13/2014
2.42.0 11,444 6/4/2014 4,431 4/7/2014 922 4/5/2014 923 4/4/2014
2.41.0 1,836 3/31/2014
2.40.0 8,301 2/25/2014
2.39.0 1,283 2/22/2014 10,007 8/29/2013 1,026 8/28/2013 1,014 8/28/2013
2.35.3 5,748 8/28/2013

 - Update README