Selenium.WebDriver.ChromeDriver 117.0.5938.9200

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Selenium.WebDriver.ChromeDriver --version 117.0.5938.9200
NuGet\Install-Package Selenium.WebDriver.ChromeDriver -Version 117.0.5938.9200
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Selenium.WebDriver.ChromeDriver" Version="117.0.5938.9200" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Selenium.WebDriver.ChromeDriver --version 117.0.5938.9200
#r "nuget: Selenium.WebDriver.ChromeDriver, 117.0.5938.9200"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Selenium.WebDriver.ChromeDriver as a Cake Addin
#addin nuget:?package=Selenium.WebDriver.ChromeDriver&version=117.0.5938.9200

// Install Selenium.WebDriver.ChromeDriver as a Cake Tool
#tool nuget:?package=Selenium.WebDriver.ChromeDriver&version=117.0.5938.9200

NuGet package - Selenium WebDriver ChromeDriver

NuGet Package NuGet Package NuGet Package

What's this?

This NuGet package installs Chrome Driver (Win32, macOS, macOS arm64, and Linux64) for Selenium WebDriver into your Unit Test Project.

"chromedriver(.exe)" does not appear in Solution Explorer, but it is copied to the output folder from the package source folder when the build process.

NuGet package restoring ready, and no need to commit "chromedriver(.exe)" binary into source code control repository.

Warning
Since Selenium WebDriver version 4.6 was released in November 2022 or later, it has contained "Selenium Manager", which will automatically download the most suitable version and platform WebDriver executable file. So now, you can run applications that use Selenium and manipulates web browsers without this package. However, due to compatibility and some offline scenarios, we intend to keep this package for the time being.

How to install?

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

If you are using Chrome version 117:

PM> Install-Package Selenium.WebDriver.ChromeDriver -Version 117.0.5938.9200

If you are using Chrome version 116:

PM> Install-Package Selenium.WebDriver.ChromeDriver -Version 116.0.5845.9600

If you are using Chrome version 115:

PM> Install-Package Selenium.WebDriver.ChromeDriver -Version 115.0.5790.17000

To learn what version of ChromeDriver you need to use, please see also the following page:

https://chromedriver.chromium.org/downloads/version-selection

Cross-platform building and publishing

By default - it depends on the OS running the build process

By default, the platform type of the web driver file copied to the output folder depends on the OS running the build process.

  • When you build the project which references the NuGet package of chromedriver on Windows OS, win32 version of chromedriver will be copied to the output folder.
  • When you build it on macOS on Intel CPU hardware, macOS x64 version of chromedriver will be copied to the output folder.
  • When you build it on macOS on Apple CPU hardware, macOS Arm64 version of chromedriver will be copied to the output folder.
  • When you build it on any Linux distributions, Linux x64 version of chromedriver will be copied to the output folder.

Method 1 - Specify "Runtime Identifier"

When you specify the "Runtime Identifier (RID)" explicitly, the platform type of the driver file is the same to the RID which you specified. (it doesn't depends on the which OS to use for build process.)

You can specify RID as a MSBuild property in a project file,

<PropertyGroup>
  <RuntimeIdentifier>win-x64</RuntimeIdentifier>
</PropertyGroup>

or, as a command-line -r option for dotnet build command.

> dotnet build -r:osx.10.12-x64
  • When the RID that starts with "win" is specified, win32 version of chromedriver will be copied to the output folder.
  • When the RID that starts with "osx" and ends with "x64" is specified, macOS x64 version of chromedriver will be copied to the output folder.
  • When the RID that starts with "osx" and ends with "arm64" is specified, macOS Arm64 version of chromedriver will be copied to the output folder.
  • When the RID that starts with "linux" is specified, Linux x64 version of chromedriver will be copied to the output folder.

If you specify another pattern of RID like "ubuntu.18.04-x64", the platform type of the web driver file which will be copied to the output folder depends on the OS running the build process. (default behavior.)

Method 2 - Specify "WebDriverPlatform" msbuild property

You can control which platform version of chromedriver will be copied by specifying "WebDriverPlatform" MSBuild property.

"WebDriverPlatform" MSBuild property can take one of the following values:

  • "win32"
  • "mac64"
  • "mac64arm"
  • "linux64"

You can specify "WebDriverPlatform" MSBuild property in a project file,

<PropertyGroup>
  <WebDriverPlatform>win32</WebDriverPlatform>
</PropertyGroup>

or, command-line -p option for dotnet build command.

> dotnet build -p:WebDriverPlatform=mac64

The specifying "WebDriverPlatform" MSBuild property is the highest priority method to control which platform version of the chromedriver will be copied.

If you run the following command on Windows OS,

> dotnet build -r:ubuntu.18.04-x64 -p:WebDriverPlatform=mac64

The driver file of macOS x64 version will be copied to the output folder.

How to include the driver file into published files?

"chromedriver(.exe)" isn't included in published files on default configuration. This behavior is by design.

If you want to include "chromedriver(.exe)" into published files, please define _PUBLISH_CHROMEDRIVER compilation symbol.

define _PUBLISH_CHROMEDRIVER compilation symbol

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

  <Project ...>
    ...
    <PropertyGroup>
      ...
      <PublishChromeDriver>true</PublishChromeDriver>
      ...
    </PropertyGroup>
...
</Project>

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

> dotnet publish -p:PublishChromeDriver=true
Note

PublishChromeDriver MSBuild property always override the condition of define _PUBLISH_CHROMEDRIVER compilation symbol or not. If you define PublishChromeDriver MSBuild property with false, then the driver file isn't included in publish files whenever define _PUBLISH_CHROMEDRIVER compilation symbol or not.

Appendix

The numbering of the package version

The rule of the version number of this package is:

chromedriver version MAJOR.MINOR.BUILD.PATCH + package version (2 digit)

For example, 2nd package release for the chromedriver ver.1.2.3.4, the package version is 1.2.3.4 + 021.2.3.402.

Sometime multiple packages for the same chromedriver version may be released by following example reasons.

  • Packaging miss. (the package included invalid version of the driver files)
  • Fixing bug of the build script, or improving the build script.

Where is chromedriver.exe saved to?

chromedriver(.exe) exists at
" {solution folder} /packages/Selenium.WebDriver.ChromeDriver. {ver} /driver/ {platform}"
folder.

 {Solution folder}/
  +-- packages/
  |   +-- Selenium.WebDriver.ChromeDriver.{version}/
  |       +-- driver/
  |       |   +-- win32
  |       |       +-- chromedriver.exe
  |       |   +-- mac64
  |       |       +-- chromedriver
  |       |   +-- mac64arm
  |       |       +-- chromedriver
  |       |   +-- linux64
  |       |       +-- chromedriver
  |       +-- build/
  +-- {project folder}/
      +-- bin/
          +-- Debug/
          |   +-- chromedriver(.exe) (copy from above by build process)
          +-- Release/
              +-- chromedriver(.exe) (copy from above by build process)

And package installer configure MSBuild task such as .csproj to copy chromedriver(.exe) into the output folder during the build process.

License

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

The binary files of ChromeDriver are licensed under the BSD-3-Clause.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (120)

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

Package Downloads
Miru.PageTesting.Chrome

Package Description

SpecsFor.Mvc

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.

Objectivity.Test.Automation.Common.NUnit

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

Selenium.Helper

This package contains .NET helper classes to make the creation of Selenium tests easier. It contains a Connector class that supports various initializations of the Driver. It also contains a utility class to assist in working with elements.

Ocaramba

Framework to automate tests using Selenium WebDriver

GitHub repositories (43)

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

Repository Stars
Sonarr/Sonarr
Smart PVR for newsgroup and bittorrent users.
Radarr/Radarr
A fork of Sonarr to work with movies à la Couchpotato.
btcpayserver/btcpayserver
Accept Bitcoin payments. Free, open-source & self-hosted, Bitcoin payment processor.
mono/SkiaSharp
SkiaSharp is a cross-platform 2D graphics API for .NET platforms based on Google's Skia Graphics Library. It provides a comprehensive 2D API that can be used across mobile, server and desktop models to render images.
testcontainers/testcontainers-dotnet
A library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.
Version Downloads Last updated
118.0.5993.1800-beta 822 9/20/2023
117.0.5938.9200 23,259 9/21/2023
117.0.5938.8800 27,114 9/16/2023
117.0.5938.6200 40,852 9/12/2023
117.0.5938.4800-beta 1,139 9/6/2023
117.0.5938.3500-beta 1,125 8/30/2023
117.0.5938.2200-beta 3,041 8/23/2023
117.0.5938.1100-beta 2,434 8/16/2023
116.0.5845.9600 385,495 8/15/2023
116.0.5845.9600-beta 2,136 8/14/2023
116.0.5845.8200-beta 2,752 8/9/2023
116.0.5845.6200-beta 2,349 8/3/2023
116.0.5845.4900-beta 2,547 7/26/2023
116.0.5845.4200-beta 4,337 7/20/2023
115.0.5790.17000 138,348 8/2/2023
115.0.5790.10200 185,797 7/21/2023
115.0.5790.9800 78,235 7/18/2023
114.0.5735.9000 827,482 5/31/2023
114.0.5735.1600 72,398 5/30/2023
114.0.5735.1600-beta 3,445 5/4/2023
113.0.5672.6300 588,316 5/3/2023
113.0.5672.2400 36,652 5/3/2023
113.0.5672.2400-beta 5,382 4/10/2023
112.0.5615.4900 473,094 4/5/2023
112.0.5615.2800-beta 5,430 3/16/2023
111.0.5563.6400 548,128 3/8/2023
111.0.5563.4100 49,530 3/8/2023
111.0.5563.4100-beta 2,503 2/27/2023
111.0.5563.1900-beta 3,233 2/10/2023
110.0.5481.7700 533,808 2/8/2023
110.0.5481.3000 37,678 2/7/2023
110.0.5481.3000-beta 3,595 1/14/2023
109.0.5414.7400 679,306 1/11/2023
109.0.5414.2500-beta 5,179 12/2/2022
108.0.5359.7100 666,140 11/30/2022
108.0.5359.2200 57,828 11/29/2022
108.0.5359.2200-beta 3,230 11/3/2022
107.0.5304.6200 865,499 10/25/2022
107.0.5304.1800-beta 2,804 10/2/2022
106.0.5249.6100 552,187 9/28/2022
106.0.5249.2100 34,155 9/27/2022
106.0.5249.2100-beta 4,000 9/2/2022
105.0.5195.5200 767,836 8/31/2022
105.0.5195.1900 54,516 8/31/2022
105.0.5195.1900-beta 4,134 8/8/2022
104.0.5112.7900 624,682 8/3/2022
104.0.5112.2900 40,449 8/3/2022
104.0.5112.2900-beta 7,812 7/7/2022
104.0.5112.2000-beta 21,563 6/24/2022
103.0.5060.13400 217,186 7/20/2022
103.0.5060.5300 566,506 6/22/2022
103.0.5060.2400-beta 4,033 5/30/2022
102.0.5005.6102 638,276 5/28/2022
102.0.5005.6101 9,201 5/28/2022
102.0.5005.6100 91,098 5/25/2022
102.0.5005.2700 46,992 5/24/2022
102.0.5005.2700-beta 4,900 5/2/2022
101.0.4951.4100 586,206 4/27/2022
101.0.4951.1500-beta 5,825 4/2/2022
100.0.4896.6000 948,246 3/30/2022
100.0.4896.2000 44,771 3/30/2022
100.0.4896.2000-beta 4,382 3/4/2022
99.0.4844.5100 646,797 3/4/2022
99.0.4844.5100-beta 112,722 3/2/2022
99.0.4844.3500-beta 4,191 2/17/2022
99.0.4844.1700-beta 2,914 2/5/2022
98.0.4758.10200 360,549 2/15/2022
98.0.4758.8000 308,042 2/4/2022
98.0.4758.4800 108,098 2/3/2022
98.0.4758.4800-beta 46,126 1/12/2022
97.0.4692.7100 619,991 1/6/2022
97.0.4692.3600-beta 8,395 12/3/2021
97.0.4692.2000-beta 7,653 11/19/2021
96.0.4664.4500 1,253,320 11/16/2021
96.0.4664.3500-beta 6,916 11/8/2021
96.0.4664.1800-beta.2 1,180 11/3/2021
96.0.4664.1800-beta 3,346 10/25/2021
95.0.4638.6900 191,393 11/8/2021
95.0.4638.5401 138,834 11/3/2021
95.0.4638.5400 110,918 10/28/2021
95.0.4638.1700 209,129 10/20/2021
95.0.4638.1700-beta 17,591 9/28/2021
95.0.4638.1000-beta 2,801 9/21/2021
94.0.4606.11300 27,434 11/8/2021
94.0.4606.6100 637,059 9/28/2021
94.0.4606.4101 160,168 9/22/2021
94.0.4606.4101-beta 3,701 9/10/2021
93.0.4577.6300 179,556 9/14/2021
93.0.4577.1500 355,893 9/1/2021
93.0.4577.1500-beta 10,775 7/29/2021
92.0.4515.10700 681,954 7/29/2021
92.0.4515.4300 216,814 7/21/2021
92.0.4515.4300-beta 8,374 6/12/2021
91.0.4472.10100 680,464 6/12/2021
91.0.4472.1900 516,870 5/26/2021
91.0.4472.1900-beta 6,168 4/23/2021
90.0.4430.2400 1,021,564 4/14/2021
90.0.4430.2400-beta 8,266 3/16/2021
89.0.4389.2300 1,015,381 3/4/2021
89.0.4389.2300-beta 9,887 1/29/2021
88.0.4324.9600 971,527 1/21/2021
88.0.4324.2700 64,481 1/19/2021
88.0.4324.2700-beta 4,772 12/4/2020
87.0.4280.8800 1,214,058 12/2/2020
87.0.4280.2000 512,371 11/18/2020
87.0.4280.2000-beta 28,130 10/17/2020
86.0.4240.2200 735,661 10/9/2020
86.0.4240.2200-beta 17,106 9/4/2020
85.0.4183.8700 1,057,554 8/28/2020
85.0.4183.8300 186,300 8/26/2020
85.0.4183.3800-beta 7,972 7/24/2020
84.0.4147.3001 479,463 7/15/2020
84.0.4147.3001-beta 1,889 7/12/2020
84.0.4147.3000-beta 11,425 5/29/2020
83.0.4103.3915 49,541 7/15/2020
83.0.4103.3915-beta 6,374 7/11/2020
83.0.4103.3910 210,610 6/28/2020
83.0.4103.3910-beta 12,349 5/24/2020
83.0.4103.3900 1,020,725 5/20/2020
83.0.4103.3900-beta 17,736 5/6/2020
83.0.4103.1400-beta 7,119 4/17/2020
81.0.4044.13800 155,681 5/6/2020
81.0.4044.6900 351,285 4/9/2020
81.0.4044.6900-beta 3,170 3/18/2020
81.0.4044.2000-beta 5,403 2/14/2020
80.0.3987.10600 990,709 2/14/2020
80.0.3987.1600 265,319 2/5/2020
80.0.3987.1600-beta 4,347 12/20/2019
79.0.3945.3600 883,113 12/12/2019
79.0.3945.3600-beta 19,165 11/19/2019
79.0.3945.1600-beta 2,972 10/31/2019
78.0.3904.10500 357,046 11/19/2019
78.0.3904.7000 500,684 10/23/2019
78.0.3904.1100-beta 5,295 9/13/2019
77.0.3865.4000 563,457 9/13/2019
77.0.3865.4000-beta 3,753 8/21/2019
77.0.3865.10-beta 8,537 8/7/2019
76.0.3809.12600 277,361 8/22/2019
76.0.3809.6801 102,898 8/12/2019
76.0.3809.68 173,008 8/5/2019
76.0.3809.68-beta 6,274 7/17/2019
76.0.3809.25-beta 4,966 6/14/2019
76.0.3809.12-beta 1,965 6/8/2019
75.0.3770.140 327,158 7/14/2019
75.0.3770.90 222,260 6/14/2019
75.0.3770.8 65,416 6/8/2019
74.0.3729.6 495,242 4/25/2019
73.0.3683.68 312,027 3/13/2019
72.0.3626.69 478,251 3/5/2019
71.0.3578.137 46,941 3/5/2019
2.46.0 366,863 2/2/2019
2.45.0 438,686 12/11/2018
2.44.0 443,355 11/21/2018
2.43.0 891,267 10/18/2018
2.42.0.1 402,074 9/14/2018
2.41.0 584,793 7/28/2018
2.40.0 804,960 6/8/2018
2.39.0 101,068 5/30/2018
2.38.0.1 482,728 4/26/2018
2.38.0 597,978 4/18/2018
2.37.0 629,508 3/17/2018
2.36.0 256,673 3/2/2018
2.35.0 470,000 1/11/2018
2.34.0 135,815 12/10/2017
2.33.0 500,110 10/4/2017
2.32.0 167,335 8/31/2017
2.31.0 138,473 7/23/2017
2.30.0.1 471,569 6/8/2017
2.29.0 353,096 4/4/2017
2.28.0.2-beta 3,079 3/21/2017
2.28.0.1-beta 4,201 3/9/2017
2.28.0 124,873 3/9/2017
2.27.0.7-beta 3,481 3/3/2017
2.27.0.6-beta 2,058 3/2/2017
2.27.0.2-beta 2,042 2/28/2017
2.27.0 273,304 12/22/2016
2.26.0 60,725 12/6/2016
2.25.0.8 130,370 11/15/2016
2.25.0.8-beta 6,976 10/29/2016
2.25.0 101,626 10/24/2016
2.24.0 145,243 9/16/2016
2.23.0.1 109,480 8/10/2016
2.23.0 5,420 8/9/2016
2.22.0 115,522 6/8/2016
2.21.0.1-beta 3,670 5/5/2016
2.21.0 219,945 1/26/2016
2.20.0 169,164 10/9/2015
2.19.0 46,641 9/6/2015
2.18.0 12,483 8/22/2015
2.17.0 9,875 8/12/2015
2.16.0 18,403 6/27/2015
2.15.0 42,576 4/1/2015
2.14.0.1-beta 2,374 3/6/2015
2.14.0 21,856 3/3/2015
2.13.0 20,204 1/6/2015
2.12.0 20,963 10/30/2014
2.10.0.1-beta2 3,061 8/14/2014
2.10.0.1-beta 2,348 8/14/2014
2.10.0 32,071 5/8/2014
2.9.0.1 7,518 4/7/2014
2.9.0.1-beta3 2,378 4/5/2014
2.9.0.1-beta2 2,226 4/3/2014
2.9.0 10,965 3/27/2014
2.8.0 14,092 1/24/2014
2.3.0 10,067 9/7/2013
2.2.0 11,873 8/28/2013

117.0.5938.9200
     - Chrome Driver 117.0.5938.92 release

     To see all the change logs, please visit the following URL.
     - https://github.com/jsakamoto/nupkg-selenium-webdriver-chromedriver/blob/master/RELEASE-NOTES.txt